0

what's &a meaning during accepting a string ?

char a; scanf('' %s ", &a);

21st Oct 2020, 2:47 PM
Shweta Mahajan
Shweta Mahajan - avatar
1 Answer
+ 5
"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 " Please refer this 👇 https://www.sololearn.com/learn/C/2914/?ref=app
21st Oct 2020, 2:59 PM
Minho
Minho - avatar