I am taking an Intro to C class and I am wondering: why is an ampersand (&) not needed when assigning a string to a character array in C?
For instance, I learned char name[10]; scanf("%s", name);assigns a string to a character array. However, we've learned that input assignment to a variable looks like scanf("%d", &intVariable); for example.
Why is the scanf statement not scanf("%s", &name); ?