Home » C Programming » Input & Output » Question
  1. What is the meaning of the following C statement?
    printf(“%10s”, state); 
    1. Print empty spaces if the string state is less than 10 characters
    2. Print the last 10 characters of the string
    3. 10 spaces before the string state is printed
    4. All of above
    5. None of these
Correct Option: A

Print empty spaces if the string state is less than 10 characters



Your comments will be displayed only after manual approval.