Q. What is the purpose of sprintf? (Solved)

1. It prints the data into stdout

2. It writes the formatted data into a string

3. It writes the formatted data into a file

4. None of the mentioned

  • b. It writes the formatted data into a string
Subscribe Now

Get All Updates & News