Difference between Puts & Printf Hamid - Last answer on 16 Dec 2010 1 answer Hello, I want to know the difference between puts and printf in C language (void)printf("table[0]=%d, table[1]=%d\n", table[0], table[1]); (void)puts("End of table program"); return EXIT_SUCCESS; Thank you! Configuration: Linux / Firefox 3.6.13 Show more Related links: La différence entre .cc et .cpp difference between two dates in a query Difference between Project Manager and Business Analyst the difference between model, method and tool the difference between windows and ms-dos software 1 answer Sorted by votes Votes Date Descending date Answer 1 / 1 - Best answer The best answer is the one that has been validated by our teams. fiddy Contributor Hello, printf allows you to display text, format variables, etc. puts just allows you to display text and adds a newline at the end.
Answer 1 / 1 - Best answer The best answer is the one that has been validated by our teams. fiddy Contributor Hello, printf allows you to display text, format variables, etc. puts just allows you to display text and adds a newline at the end.