Explain the purpose of the function sprintf() in C- Programming?
Prints the formatted output onto the character array