In this article, we have explored the differences between 3 output methods in C namely, puts vs printf vs cout in C .
Table of content-
Introduction to puts,printf and coutTheir properties and implementation.Differences between puts,printf and coutIntroduction to puts,printf and cout -1. puts -
puts is a c library function declared in header file stdio.h. it is used to write a string to stdout puts(str) it writes a string without including the null character .so the new line character ...
Published on October 31, 2022 14:18