Hello, I am a newbie to C programming (or programming in general).
I was wondering what the logic behind the & in scanf() function is.
there is an & before a.Code:scanf ("%c", &a);
As far as I am concerned &a means the 'address of a'. But here I am trying to assign 'a' to a character (a = 'k').
Can anyone clarify this!