0

Why in a scanf() & operator is used?

27th Jul 2018, 7:13 PM
Praful Dhale
2 Réponses
+ 2
The & sign before the variable name is the address operator. It gives the address, or location in memory, of a variable. This is needed because scanf places an input value at a variable address.
27th Jul 2018, 7:59 PM
Steppenwolf
Steppenwolf - avatar
0
Thanks
28th Jul 2018, 12:29 PM
Praful Dhale