Page 1 of 1

What is the meaning of the following C statement?

Posted: Wed Jul 13, 2022 7:54 pm
by answerhappygod
printf(ā€œ%10sā€, state);
a) 10 spaces before the string state is printed
b) Print empty spaces if the string state is less than 10 characters
c) Print the last 10 characters of the string
d) None of the mentioned