+ 2

Why we use (&) in scanf?

.....

30th May 2020, 7:19 AM
Aviral Kaushik
Aviral Kaushik - avatar
4 Answers
+ 6
To get the value of the pointer and not variable... value points to the pointer and the pointer points to the variable.... Otherwise the computer will dump the core...
30th May 2020, 7:20 AM
Namit Jain
Namit Jain - avatar
+ 2
To pass it by pointer to change the value by the user.
30th May 2020, 8:24 AM
CarrieForle
CarrieForle - avatar
+ 2
To get input form user
31st May 2020, 8:15 AM
💞 SHAINA 💞
💞 SHAINA 💞 - avatar
31st May 2020, 11:07 AM
ASR
ASR - avatar