<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[what does (int &amp;amp;int) mean ?]]></title><description><![CDATA[<p>Dear friends, I do not know what (int &amp; int ) mean?<br />
I thought it will be either true or false according as the value 0 or something else. But here, this is not the case.<br />
Would you please write the answer and make it understand?</p>
<pre><code>// program : prog
#include&lt;stdio.h&gt;
#include&lt;stdlib.h&gt;
int main (int argc, char** argv){
        int x = atoi(argv[1]);
        int y = atoi(argv[2]);
        printf(&quot;your integer: %i! \n&quot;,(x&amp;y));

return 0;}
</code></pre>
<p>e.g : ./prog 2 17 =&gt;2 , ./prog 2 18 =&gt; 2 , ./prog 4 18 =&gt; 0, ./prog 31 32 =&gt; 0<br />
How is the result calculated here?<br />
Thank you so much in Advance !<br />
Euklid</p>
]]></description><link>https://www.c-plusplus.net/forum/topic/311010/what-does-int-amp-int-mean</link><generator>RSS for Node</generator><lastBuildDate>Sat, 04 Apr 2026 14:45:07 GMT</lastBuildDate><atom:link href="https://www.c-plusplus.net/forum/topic/311010.rss" rel="self" type="application/rss+xml"/><pubDate>Sat, 24 Nov 2012 20:17:57 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to what does (int &amp;amp;int) mean ? on Sat, 24 Nov 2012 21:00:21 GMT]]></title><description><![CDATA[<p>Dear friends, I do not know what (int &amp; int ) mean?<br />
I thought it will be either true or false according as the value 0 or something else. But here, this is not the case.<br />
Would you please write the answer and make it understand?</p>
<pre><code>// program : prog
#include&lt;stdio.h&gt;
#include&lt;stdlib.h&gt;
int main (int argc, char** argv){
        int x = atoi(argv[1]);
        int y = atoi(argv[2]);
        printf(&quot;your integer: %i! \n&quot;,(x&amp;y));

return 0;}
</code></pre>
<p>e.g : ./prog 2 17 =&gt;2 , ./prog 2 18 =&gt; 2 , ./prog 4 18 =&gt; 0, ./prog 31 32 =&gt; 0<br />
How is the result calculated here?<br />
Thank you so much in Advance !<br />
Euklid</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2274347</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2274347</guid><dc:creator><![CDATA[euklid]]></dc:creator><pubDate>Sat, 24 Nov 2012 21:00:21 GMT</pubDate></item><item><title><![CDATA[Reply to what does (int &amp;amp;int) mean ? on Sat, 24 Nov 2012 20:26:38 GMT]]></title><description><![CDATA[<p>&amp; is the binary and, google for binary operators. The logical and (the one that's either true or false) is &amp;&amp;.</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2274351</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2274351</guid><dc:creator><![CDATA[cooky451]]></dc:creator><pubDate>Sat, 24 Nov 2012 20:26:38 GMT</pubDate></item><item><title><![CDATA[Reply to what does (int &amp;amp;int) mean ? on Sat, 24 Nov 2012 21:20:51 GMT]]></title><description><![CDATA[<p>ok ! Thank you so much for the answer! I understood now !!<br />
Hier is the answer:<br />
<a href="http://en.wikipedia.org/wiki/Bitwise_operation#AND" rel="nofollow">http://en.wikipedia.org/wiki/Bitwise_operation#AND</a><br />
with best wishes</p>
]]></description><link>https://www.c-plusplus.net/forum/post/2274369</link><guid isPermaLink="true">https://www.c-plusplus.net/forum/post/2274369</guid><dc:creator><![CDATA[euklid]]></dc:creator><pubDate>Sat, 24 Nov 2012 21:20:51 GMT</pubDate></item></channel></rss>