Posted on 24th April 2024
String formatting is essential when we need to create a string dynamically. Using string formatting, we can perform two main functions.
1) Printf() function to print the formatted string and
2) Sprintf() function to create and return the string rather than printing it to the console.
STILL GOT QUERIES?