Home » C Programming » Input & Output » Question
  1. What is the purpose of sprintf?
    1. It writes the formatted data into a file
    2. It prints the data into stdout
    3. It writes the formatted data into a string
    4. All of above
    5. None of these
Correct Option: C

It writes the formatted data into a string



Your comments will be displayed only after manual approval.