Multiple Choice
The statement ____ displays the message Have a Happy Day, right-justified, in a field of 25 characters.
A) printf("%s25","Have a Happy Day") ;
B) printf("%s-25","Have a Happy Day") ;
C) printf("%25s","Have a Happy Day") ;
D) printf("%-25s","Have a Happy Day") ;
Correct Answer:

Verified
Correct Answer:
Verified
Related Questions
Q5: In C, assignment and relational operations are
Q6: In general, a scanf() function call can
Q7: In C, '\n' is the sentinel marking
Q8: The array char message[81]; can be used
Q9: Attempting to copy a larger string value
Q11: One of the most common methods of
Q12: gets() substitutes \0 when an \n is
Q13: Programs that use the atoi() routine must
Q14: The value assigned to the NULL constant
Q15: puts() substitutes \0 when an \n is