A

Admin • 833K Points
Coach

Q. What is the output of C program?

Code:
scanf("%4s", str);
  • (A) Read exactly 4 characters from console.
  • (B) Read maximum 4 characters from console.
  • (C) Read a string str in multiples of 4
  • (D) Nothing
  • Correct Answer - Option(B)
  • Views: 25
  • Filed under category C Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.