What is the meaning of the following C statement?
printf(“%10s”, state);
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
Answer: Option B

Join The Discussion