<?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"
	>

<channel>
	<title>Fresher Interview Questions &#187; C++ and C</title>
	<atom:link href="http://www.freshershome.com/interview-questions/category/c/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.freshershome.com/interview-questions</link>
	<description>Interview Questions for Freshers</description>
	<pubDate>Tue, 23 Sep 2008 01:32:08 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6</generator>
	<language>en</language>
			<item>
		<title>Agile C++ Test Questions</title>
		<link>http://www.freshershome.com/interview-questions/c/agile-c-test-questions/</link>
		<comments>http://www.freshershome.com/interview-questions/c/agile-c-test-questions/#comments</comments>
		<pubDate>Mon, 10 Sep 2007 06:16:40 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C++ and C]]></category>

		<guid isPermaLink="false">http://www.freshershome.com/interview-questions/c/agile-c-test-questions/</guid>
		<description><![CDATA[C++:
(1)the difference b/w pure virtual fn.&#38; virtual fn.
(a)pure virtual function. is initialized to zero.
(b)

(2)virtual destructor&#8217;s are used for
(a)
(3)find legal statement
(a)cout&#62;&#62;&#8221;name&#8221;&#62;&#62;endl;
(b)cout&#60;&#60;&#8221;name&#60;
(c)cout&#60;&#60;&#8221;name&#8221;&#60;
(4)find the o/p of the program
void main()
{
int a=10;b;
if(a&#38;lt;=10)
b=4;
if(a&#38;gt;10)
b=5;
cout&#38;lt;
}
(a)it don&#8217;t be compiled
(b)it compiles and o/p&#8217;s 10 4(ans)
(5)a question on copying or assigning
(6)early or static binding means
(a)at runtime
(b)at compile time(ans)
(7)one question on global variables,one question on globally declared [...]]]></description>
		<wfw:commentRss>http://www.freshershome.com/interview-questions/c/agile-c-test-questions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Carritor C Interview Questions</title>
		<link>http://www.freshershome.com/interview-questions/c/carritor-c-interview-questions/</link>
		<comments>http://www.freshershome.com/interview-questions/c/carritor-c-interview-questions/#comments</comments>
		<pubDate>Sun, 09 Sep 2007 09:01:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C++ and C]]></category>

		<guid isPermaLink="false">http://www.freshershome.com/interview-questions/c/carritor-c-interview-questions/</guid>
		<description><![CDATA[1.      Struct x
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; {
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;int i;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; char c;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; }
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; union y{
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; struct x a;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; 
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; double d;
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160; };
&#160;&#160;&#160;&#160;&#160;&#160;&#160;&#160;printf(&#34;%d&#34;,sizeof(union y));
         a)8
         b)5
         c)4
      [...]]]></description>
		<wfw:commentRss>http://www.freshershome.com/interview-questions/c/carritor-c-interview-questions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>C Interview Paper</title>
		<link>http://www.freshershome.com/interview-questions/c/c-interview-paper/</link>
		<comments>http://www.freshershome.com/interview-questions/c/c-interview-paper/#comments</comments>
		<pubDate>Sun, 09 Sep 2007 07:19:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C++ and C]]></category>

		<guid isPermaLink="false">http://www.freshershome.com/interview-questions/c/c-interview-paper/</guid>
		<description><![CDATA[C Paper:
1. What is the difference between Char a[ ]=&#8221;string&#8221; and char *a=&#8221;String&#8221;
2. What is wrong with the code? The code was for conversion from Celsius to Fahrenheit : degF =5/9*(c+32)
In code this line was wrong as we want 5/9 and that to be multiplied with bracket result. But here 9 will be first multiplied [...]]]></description>
		<wfw:commentRss>http://www.freshershome.com/interview-questions/c/c-interview-paper/feed/</wfw:commentRss>
		</item>
		<item>
		<title>C programming Questions</title>
		<link>http://www.freshershome.com/interview-questions/c/c-programming-questions/</link>
		<comments>http://www.freshershome.com/interview-questions/c/c-programming-questions/#comments</comments>
		<pubDate>Fri, 07 Sep 2007 18:49:50 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C++ and C]]></category>

		<guid isPermaLink="false">http://www.freshershome.com/interview-questions/c/c-programming-questions/</guid>
		<description><![CDATA[C programming:
&#8212;&#8212;&#8212;&#8212;-
some small C programs are given asked to tell the function/errors etc.
one of the question(last in the paper) is an invalid statement. finish of all these very fast and think about those others. they are  simple only.

1.int a=2,b=3,c=4;
printf(&#34;a=%d,b=%d\n&#34;,a,b,c);
ANS:2,3
2.for(i=1;i&#60;10;++i,printf(&#34;%d&#34;,i));+-
ANS:compiling error.
3.whole logic is given in func s but they are working properly. the main logic [...]]]></description>
		<wfw:commentRss>http://www.freshershome.com/interview-questions/c/c-programming-questions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Sasken C Interview Questions</title>
		<link>http://www.freshershome.com/interview-questions/c/sasken-c-interview-questions/</link>
		<comments>http://www.freshershome.com/interview-questions/c/sasken-c-interview-questions/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 09:59:01 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C++ and C]]></category>

		<guid isPermaLink="false">http://www.freshershome.com/interview-questions/c/sasken-c-interview-questions/</guid>
		<description><![CDATA[1) If u have a linked list library, how do u design stack and queue using it; write pseudo code.
2) What are static variables and functions?
3) Write code in C to count the number of 1s in a character (1byte).
4) What is pre-order, post-order, in-order; write code to print post-order.
5) Can u construct a binary [...]]]></description>
		<wfw:commentRss>http://www.freshershome.com/interview-questions/c/sasken-c-interview-questions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>C++ Important Questions</title>
		<link>http://www.freshershome.com/interview-questions/c/c-important-questions/</link>
		<comments>http://www.freshershome.com/interview-questions/c/c-important-questions/#comments</comments>
		<pubDate>Thu, 09 Aug 2007 09:32:42 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C++ and C]]></category>

		<guid isPermaLink="false">http://www.freshershome.com/interview-questions/c/c-important-questions/</guid>
		<description><![CDATA[
Can we generate a C++ source code from the binary file?
What are inline functions?
What is “strstream” ?

What is encapsulation??
				Containing and hiding information about an object, such as
				internal data structures and code. Encapsulation isolates the
				internal complexity of an object&#8217;s operation from the rest of
				the application. For example, a client component asking for net
				revenue from a business [...]]]></description>
		<wfw:commentRss>http://www.freshershome.com/interview-questions/c/c-important-questions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Arrays Interview Questions</title>
		<link>http://www.freshershome.com/interview-questions/c/arrays-interview-questions/</link>
		<comments>http://www.freshershome.com/interview-questions/c/arrays-interview-questions/#comments</comments>
		<pubDate>Fri, 20 Jul 2007 06:38:24 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C++ and C]]></category>

		<guid isPermaLink="false">http://www.freshershome.com/interview-questions/?p=20</guid>
		<description><![CDATA[
 You are given an array with integers between 1 and 1,000,000. One  integer is in the array twice. How can you determine which one? Can you  think of a way to do it using little extra memory. 
 You are given an array with integers between 1 and  1,000,000. One integer [...]]]></description>
		<wfw:commentRss>http://www.freshershome.com/interview-questions/c/arrays-interview-questions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Linked List</title>
		<link>http://www.freshershome.com/interview-questions/c/linked-list/</link>
		<comments>http://www.freshershome.com/interview-questions/c/linked-list/#comments</comments>
		<pubDate>Fri, 20 Jul 2007 06:37:22 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C++ and C]]></category>

		<guid isPermaLink="false">http://www.freshershome.com/interview-questions/?p=19</guid>
		<description><![CDATA[You must be able to produce simple clean linked list implementations quickly.
     Implement Insert and Delete for
           singly-linked linked list
           sorted linked list
         [...]]]></description>
		<wfw:commentRss>http://www.freshershome.com/interview-questions/c/linked-list/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Hardware related C Questions</title>
		<link>http://www.freshershome.com/interview-questions/c/hardware-related-c-questions/</link>
		<comments>http://www.freshershome.com/interview-questions/c/hardware-related-c-questions/#comments</comments>
		<pubDate>Thu, 19 Jul 2007 14:10:53 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C++ and C]]></category>

		<guid isPermaLink="false">http://freshershome.com/interview-questions/?p=8</guid>
		<description><![CDATA[   1. What are the total number of lines written in C/C++? What is the most complicated/valuable program written in C/C++?
   2. What compiler was used?
   3. Have you studied buses? What types?
   4. Have you studied pipelining? List the 5 stages of a 5 stage pipeline. [...]]]></description>
		<wfw:commentRss>http://www.freshershome.com/interview-questions/c/hardware-related-c-questions/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Important C Interview questions</title>
		<link>http://www.freshershome.com/interview-questions/c/important-c-interview-questions/</link>
		<comments>http://www.freshershome.com/interview-questions/c/important-c-interview-questions/#comments</comments>
		<pubDate>Thu, 19 Jul 2007 14:10:13 +0000</pubDate>
		<dc:creator>admin</dc:creator>
		
		<category><![CDATA[C++ and C]]></category>

		<guid isPermaLink="false">http://freshershome.com/interview-questions/?p=7</guid>
		<description><![CDATA[   1. How do you write a program which produces its own source code as its output?
   2. How can I find the day of the week given the date?
   3. Why doesn’t C have nested functions?
   4. What is the most efficient way to count the [...]]]></description>
		<wfw:commentRss>http://www.freshershome.com/interview-questions/c/important-c-interview-questions/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
