Page 1 of 1

What does the C statement given below says?

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
scanf("%7s",ch);
a) read string with minimum 7 characters.
b) read string with maximum 7 characters
c) read string exactly to 7 characters
d) read string with any number of characters