+ 2

Why we use (&) in scanf?

.....

30th May 2020, 7:19 AM
Aviral Kaushik
Aviral Kaushik - avatar
4 ответов
+ 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
你知道規則,我也是
你知道規則,我也是 - avatar
+ 2
To get input form user
31st May 2020, 8:15 AM
💞 SHAINA 💞
💞 SHAINA 💞 - avatar
31st May 2020, 11:07 AM
A S Raghuvanshi
A S Raghuvanshi - avatar