<?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>EmbLogic &#187; fgets</title>
	<atom:link href="https://www.emblogic.com/blog/tag/fgets/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Tue, 03 Mar 2020 13:00:06 +0000</lastBuildDate>
	<language>en-US</language>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>fgets &#8211; scanning string with spaces</title>
		<link>https://www.emblogic.com/blog/01/fgets-scanning-string-with-spaces/</link>
		<comments>https://www.emblogic.com/blog/01/fgets-scanning-string-with-spaces/#comments</comments>
		<pubDate>Sun, 24 Jan 2016 09:55:21 +0000</pubDate>
		<dc:creator><![CDATA[Ankur Garg]]></dc:creator>
				<category><![CDATA[Data Structures with C]]></category>
		<category><![CDATA[c programming]]></category>
		<category><![CDATA[fgets]]></category>
		<category><![CDATA[string]]></category>

		<guid isPermaLink="false">http://www.emblogic.com/blog/?p=13188</guid>
		<description><![CDATA[Prototype : - #include &#60;stdio.h&#62; char *fgets(char *s, int size, FILE *stream); Defination :- fgets() reads in at most one less than size characters from stream and stores them into the buffer pointed to by s.  Reading  stops  after an &#8230; <a href="https://www.emblogic.com/blog/01/fgets-scanning-string-with-spaces/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
				<content:encoded><![CDATA[<p>Prototype : -</p>
<p>#include &lt;stdio.h&gt;</p>
<p>char *fgets(char *s, int size, FILE *stream);</p>
<p>Defination :-</p>
<p>fgets() reads in at most one less than size characters from stream and stores them into the buffer pointed to by s.  Reading  stops  after an EOF or a newline.  If a newline is read, it is stored into the buffer.  A terminating null byte (&#8221;) is stored after the last charac?<br />
ter in the buffer.<br />
Use :-</p>
<p>It is used to scan a string with spaces until a new line character or EOF character is inserted.</p>
<p>It takes input until enter is pressed.</p>
<p>It is used in place of scanf();</p>
]]></content:encoded>
			<wfw:commentRss>https://www.emblogic.com/blog/01/fgets-scanning-string-with-spaces/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
