<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
	
	>
<channel>
	<title>Comments on: why not Address operator &amp; used with the string variables in scanf function and used for other types??..</title>
	<atom:link href="https://www.emblogic.com/blog/10/why-not-address-operator-used-with-the-string-variables-in-scanf-function-and-used-for-other-types/feed/" rel="self" type="application/rss+xml" />
	<link>https://www.emblogic.com/blog/10/why-not-address-operator-used-with-the-string-variables-in-scanf-function-and-used-for-other-types/</link>
	<description>Embedded System and ARM Training</description>
	<lastBuildDate>Mon, 07 Oct 2013 04:00:03 +0000</lastBuildDate>
		<sy:updatePeriod>hourly</sy:updatePeriod>
		<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.9.1</generator>
	<item>
		<title>By: Kuldeep Dhanotia</title>
		<link>https://www.emblogic.com/blog/10/why-not-address-operator-used-with-the-string-variables-in-scanf-function-and-used-for-other-types/#comment-366</link>
		<dc:creator><![CDATA[Kuldeep Dhanotia]]></dc:creator>
		<pubDate>Tue, 01 Nov 2011 08:09:37 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=1193#comment-366</guid>
		<description><![CDATA[yeah, mr jaffar thats it ,but i want more comprehension.]]></description>
		<content:encoded><![CDATA[<p>yeah, mr jaffar thats it ,but i want more comprehension.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: zaffer</title>
		<link>https://www.emblogic.com/blog/10/why-not-address-operator-used-with-the-string-variables-in-scanf-function-and-used-for-other-types/#comment-364</link>
		<dc:creator><![CDATA[zaffer]]></dc:creator>
		<pubDate>Mon, 31 Oct 2011 20:02:27 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=1193#comment-364</guid>
		<description><![CDATA[the &amp; operator points towards the address. when we declare the string  by default the address of the first location is pointed unless we specify the position of char in a string.]]></description>
		<content:encoded><![CDATA[<p>the &amp; operator points towards the address. when we declare the string  by default the address of the first location is pointed unless we specify the position of char in a string.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: kamran</title>
		<link>https://www.emblogic.com/blog/10/why-not-address-operator-used-with-the-string-variables-in-scanf-function-and-used-for-other-types/#comment-360</link>
		<dc:creator><![CDATA[kamran]]></dc:creator>
		<pubDate>Mon, 31 Oct 2011 08:39:40 +0000</pubDate>
		<guid isPermaLink="false">http://emblogic.org/blog/?p=1193#comment-360</guid>
		<description><![CDATA[Nice question , but very less guys think to that extend.
So to explain if we take an an string of char, and save some information in it, we don;t use &amp; operator because string save only the information of the first address only and after that it is allocated in continuous manner . Hence if we can get the first address rest can be find by incrementing the address as per the variable declaration.

Secondly, the &amp; operator is used to get the address of the variable and since string is collection of continuous memory location, we dont need the &amp; operator.

Hope that help.]]></description>
		<content:encoded><![CDATA[<p>Nice question , but very less guys think to that extend.<br />
So to explain if we take an an string of char, and save some information in it, we don;t use &amp; operator because string save only the information of the first address only and after that it is allocated in continuous manner . Hence if we can get the first address rest can be find by incrementing the address as per the variable declaration.</p>
<p>Secondly, the &amp; operator is used to get the address of the variable and since string is collection of continuous memory location, we dont need the &amp; operator.</p>
<p>Hope that help.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
