<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>what is the difference between printf and puts in c - Wikitechy</title>
	<atom:link href="https://www.wikitechy.com/interview-questions/tag/what-is-the-difference-between-printf-and-puts-in-c/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.wikitechy.com/interview-questions/tag/what-is-the-difference-between-printf-and-puts-in-c/</link>
	<description>Interview Questions</description>
	<lastBuildDate>Fri, 07 Oct 2022 06:46:38 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://www.wikitechy.com/interview-questions/wp-content/uploads/2025/10/cropped-wikitechy-icon-32x32.png</url>
	<title>what is the difference between printf and puts in c - Wikitechy</title>
	<link>https://www.wikitechy.com/interview-questions/tag/what-is-the-difference-between-printf-and-puts-in-c/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>What is the difference between puts() and printf() ?</title>
		<link>https://www.wikitechy.com/interview-questions/c/what-is-the-difference-between-puts-and-printf/</link>
					<comments>https://www.wikitechy.com/interview-questions/c/what-is-the-difference-between-puts-and-printf/#respond</comments>
		
		<dc:creator><![CDATA[webmaster]]></dc:creator>
		<pubDate>Fri, 07 Oct 2022 06:46:38 +0000</pubDate>
				<category><![CDATA[C]]></category>
		<category><![CDATA[difference between gets and scanf]]></category>
		<category><![CDATA[difference between printf and puts]]></category>
		<category><![CDATA[difference between printf and puts in c]]></category>
		<category><![CDATA[difference between puts and print]]></category>
		<category><![CDATA[puts() function in c]]></category>
		<category><![CDATA[puts() vs printf()]]></category>
		<category><![CDATA[puts() vs printf() for printing a string]]></category>
		<category><![CDATA[puts() vs printf() for printing a string in c]]></category>
		<category><![CDATA[what is the difference between printf and puts in c]]></category>
		<category><![CDATA[What is the difference between puts() and printf() ?]]></category>
		<guid isPermaLink="false">https://www.wikitechy.com/interview-questions/?p=4960</guid>

					<description><![CDATA[Printf() Puts() Declared in the header file stdio.h Declared in the header file stdio.h Function to print a formatted string to the standard output stream which is the computer screen. This function prints string on the output stream with a new line character. Syntax for printf is printf(str) Syntax for puts() is : puts(str) Does [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><img fetchpriority="high" decoding="async" class="alignnone size-full wp-image-4961" src="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/puts-printf.jpg" alt="" width="933" height="426" srcset="https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/puts-printf.jpg 933w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/puts-printf-300x137.jpg 300w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/puts-printf-768x351.jpg 768w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/puts-printf-390x178.jpg 390w, https://www.wikitechy.com/interview-questions/wp-content/uploads/2022/10/puts-printf-820x374.jpg 820w" sizes="(max-width: 933px) 100vw, 933px" /></p>
<table>
<tbody>
<tr>
<td width="177">
<p style="text-align: center;"><strong>Printf()</strong></p>
</td>
<td width="177">
<p style="text-align: center;"><strong>Puts()</strong></p>
</td>
</tr>
<tr>
<td width="177">Declared in the header file stdio.h</td>
<td width="177">Declared in the header file stdio.h</td>
</tr>
<tr>
<td width="177">Function to print a formatted string to the standard output stream which is the computer screen.</td>
<td width="177">This function prints string on the output stream with a new line character.</td>
</tr>
<tr>
<td width="177">Syntax for printf is printf(str)</td>
<td width="177">Syntax for puts() is : puts(str)</td>
</tr>
<tr>
<td width="177">Does not move the cursor to the next line.</td>
<td width="177">Moves the cursor to the next line.</td>
</tr>
<tr>
<td width="177">Implementation of printf is complicated.</td>
<td width="177">Implementation of puts() is very simpler than printf()</td>
</tr>
</tbody>
</table>
<p>&nbsp;</p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://www.wikitechy.com/interview-questions/c/what-is-the-difference-between-puts-and-printf/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
