Investigate 20.6.
Why is the ampersand character
&
missing in front of firstName
and lastName
in the above scanf()
statement?Hint.
Remember, a string is really an array of characters (with the null terminator placed at the end). Do you remember what an array variable really stores?.