Posted on 23rd July 2024|23 views
What is string formatting
Posted on 23rd July 2024| views
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.