The printf()
function is used to print formatted output to the console. It allows us to display data in a specified format. For example, to print an integer and a floating-point number:
This will print “a = 5, b = 3.140000”.
FreeNotes
The printf()
function is used to print formatted output to the console. It allows us to display data in a specified format. For example, to print an integer and a floating-point number:
This will print “a = 5, b = 3.140000”.