+ 4
The puts() function in C is used to print the string on the console which is previously read by using gets() or scanf() function. If you talking about Ruby The only difference between puts and print is that puts automatically prints a new line after the end of a sentence whereas print doesn't.
11th Jul 2019, 5:07 PM
MsJ
MsJ - avatar