Mega Code Archive

 
Categories / C Tutorial / Stdio h
 

Puts() function is a simplified version of the printf() function

puts() displays a string of text without all printf()'s formatting magic. puts() always displays the newline character at the end of its output. #include <stdio.h>   int main() {     puts("error.");     return(0); } error.