when to add & in snacf c
snippet in c

when to add & in snacf c

user8071

int var;
scanf("%d",&var);

when to add & in snacf c

user8142

char s[20];
scanf("%s",s);