What does this statement printf(“%10s”, state); means?
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:A
What does this statement printf(“%10s”, state); means?
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