I have a question in strings. In the given program: c is used after scanf ( which indicates address) and the same c is used after printf (which means value), then what should we consider c as a memory location or value? . Can anyone explain this in detail?
#include<stdio.h>
int main()
{
char c[50];
printf("enter the string");
scanf("%s",c);
printf("the value of string is %s",c);
return 0;
}