<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DU4MRH85eSp7ImA9WhRXEk8.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727</id><updated>2011-12-18T09:06:25.121-08:00</updated><category term="Free  project on C and C++" /><category term="Menu" /><category term="Embedded Software Developing USING C  Programming language" /><category term="List of C++ Compiler" /><category term="Basic C Programming" /><category term="Free Career Assessment Test" /><category term="Find the Memory Size in C" /><category term="download  Free Source Code C Programming" /><category term="Recommended  Books C Programming" /><category term="C and C++ question with solution" /><category term="C Tutorial" /><category term="Compiler in C And C++" /><category term="List Program with Free source code" /><category term="General Aptitude links" /><category term="TCS Placement Interview Question With Solution" /><category term="software  Questions and answers" /><category term="MCQ  C programming  Question with Solutions" /><title>Question with Solution</title><subtitle type="html">C programming Language AND C++ programming Language (OOPs) QUESTION WITH SOLUTIONS ARE IN This BLOG. Placement Question with solutions ,Technical Placement question,Technical Placement question with Answer,Technical Placement question with Solution or other Links</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://wikipointer.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>261</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/QuestionWithSolution" /><feedburner:info uri="questionwithsolution" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;CUYFQ305eCp7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-2736186680915595921</id><published>2011-03-09T01:31:00.001-08:00</published><updated>2011-03-09T01:31:52.320-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T01:31:52.320-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C and C++ question with solution" /><title>C programming Language Technical Interview Questions and Answers</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: small;"&gt;&lt;div class="answers"&gt;&lt;span class="for_questions_blue" style="font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="color: #006600;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;Predict the output or error(s) for the following:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="style15"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="style15"&gt;&lt;span class="Apple-style-span" style="color: #006600; font-weight: bold;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;8.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # include&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;stdio.h&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
aaa() {&lt;br /&gt;
&amp;nbsp; printf("hi");&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
bbb(){&lt;br /&gt;
&amp;nbsp;printf("hello");&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
ccc(){&lt;br /&gt;
&amp;nbsp;printf("TechPreparation.com");&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp; int (*ptr[3])();&lt;br /&gt;
&amp;nbsp; ptr[0]=aaa;&lt;br /&gt;
&amp;nbsp; ptr[1]=bbb;&lt;br /&gt;
&amp;nbsp; ptr[2]=ccc;&lt;br /&gt;
&amp;nbsp; ptr[2]();&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
TechPreparation.com&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/stdio.h&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;stdio.h&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;Explanation:&lt;br /&gt;
ptr is array of pointers to functions of return type int.ptr[0] is assigned to address of the function aaa. Similarly ptr[1] and ptr[2] for bbb and ccc respectively. ptr[2]() is in effect of writing ccc(), since ptr[2] points to ccc.&lt;/span&gt;&lt;/span&gt;&lt;/stdio.h&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;9.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; #include&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;stdio.h&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
FILE *ptr;&lt;br /&gt;
char i;&lt;br /&gt;
ptr=fopen("zzz.c","r");&lt;br /&gt;
while((i=fgetch(ptr))!=EOF)&lt;br /&gt;
printf("%c",i);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
contents of zzz.c followed by an infinite loop&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
The condition is checked against EOF, it should be checked against NULL.&lt;/span&gt;&lt;/span&gt;&lt;/stdio.h&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;10.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp;int i =0;j=0;&lt;br /&gt;
&amp;nbsp;if(i &amp;amp;&amp;amp; j++)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("%d..%d",i++,j);&lt;br /&gt;
printf("%d..%d,i,j);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
0..0&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
The value of i is 0. Since this information is enough to determine the truth value of the boolean expression. So the statement following the if statement is not executed.&amp;nbsp; The values of i and j remain unchanged and get printed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;11.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp;int i;&lt;br /&gt;
&amp;nbsp;i = abc();&lt;br /&gt;
&amp;nbsp;printf("%d",i);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
abc()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp;_AX = 1000;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
1000&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
Normally the return value from the function is through the information from the accumulator. Here _AH is the pseudo global variable denoting the accumulator. Hence, the value of the accumulator is set 1000 so the function returns value 1000.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;12.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int i;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; main(){&lt;br /&gt;
int t;&lt;br /&gt;
for ( t=4;scanf("%d",&amp;amp;i)-t;printf("%d\n",i))&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("%d--",t--);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; // If the inputs are 0,1,2,3 find the o/p&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4--0&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3--1&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2--2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
Let us assume some x= scanf("%d",&amp;amp;i)-t the values during execution&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; will be,&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; t&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; i&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; x&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 4&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -4&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 3&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 1&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; -2&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 2&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; 0&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;13.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; main(){&lt;br /&gt;
&amp;nbsp; int a= 0;int b = 20;char x =1;char y =10;&lt;br /&gt;
&amp;nbsp; if(a,b,x,y)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("hello");&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
hello&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
The comma operator has associativity from left to right. Only the rightmost value is returned and the other values are evaluated and ignored. Thus the value of last variable y is returned to check in if. Since it is a non zero value if becomes true so, "hello" will be printed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;14.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; main(){&lt;br /&gt;
&amp;nbsp;unsigned int i;&lt;br /&gt;
&amp;nbsp;for(i=1;i&amp;gt;-2;i--)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf("c aptitude");&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
i is an unsigned integer. It is compared with a signed value. Since the both types doesn't match, signed is promoted to unsigned value. The unsigned equivalent of -2 is a huge value so condition becomes false and control comes out of the loop.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;15. In the following pgm add a&amp;nbsp; stmt in the function&amp;nbsp; fun such that the address of&lt;br /&gt;
'a' gets stored in 'j'.&lt;br /&gt;
main(){&lt;br /&gt;
&amp;nbsp;&amp;nbsp;int * j;&lt;br /&gt;
&amp;nbsp; void fun(int **);&lt;br /&gt;
&amp;nbsp; fun(&amp;amp;j);&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
&amp;nbsp;void fun(int **k) {&lt;br /&gt;
&amp;nbsp; int a =0;&lt;br /&gt;
&amp;nbsp; /* add a stmt here*/&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; *k = &amp;amp;a&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;Explanation:&lt;br /&gt;
The argument of the function is a pointer to a pointer.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;16. What are the following notations of defining functions known as?&lt;br /&gt;
i.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int abc(int a,float b)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* some code */&lt;br /&gt;
&amp;nbsp;}&lt;br /&gt;
ii.&amp;nbsp;&amp;nbsp;&amp;nbsp; int abc(a,b)&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int a; float b;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; /* some code*/&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
i.&amp;nbsp; ANSI C notation&lt;br /&gt;
ii. Kernighan &amp;amp; Ritche notation&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-2736186680915595921?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/g85vIA7OscIif9HSkPgI8v7An_E/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/g85vIA7OscIif9HSkPgI8v7An_E/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/g85vIA7OscIif9HSkPgI8v7An_E/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/g85vIA7OscIif9HSkPgI8v7An_E/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/AdNl0VHYLtE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/2736186680915595921/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=2736186680915595921" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/2736186680915595921?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/2736186680915595921?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/AdNl0VHYLtE/c-programming-language-technical.html" title="C programming Language Technical Interview Questions and Answers" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/c-programming-language-technical.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcNRHo6fCp7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-6227447306141693873</id><published>2011-03-09T01:31:00.000-08:00</published><updated>2011-03-09T01:31:35.414-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T01:31:35.414-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C and C++ question with solution" /><title>C programming Language  Technical Interview Questions and Solution</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: small;"&gt;&lt;div class="answers"&gt;&lt;span class="for_questions_blue" style="font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span" style="color: #003300;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;Predict the output or error(s) for the following:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="style15"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="style15"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; struct aaa{&lt;br /&gt;
struct aaa *prev;&lt;br /&gt;
int i;&lt;br /&gt;
struct aaa *next;&lt;br /&gt;
};&lt;br /&gt;
main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp;struct aaa abc,def,ghi,jkl;&lt;br /&gt;
&amp;nbsp;int x=100;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;abc.i=0;abc.prev=&amp;amp;jkl;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;abc.next=&amp;amp;def;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;def.i=1;def.prev=&amp;amp;abc;def.next=&amp;amp;ghi;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;ghi.i=2;ghi.prev=&amp;amp;def;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;ghi.next=&amp;amp;jkl;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;jkl.i=3;jkl.prev=&amp;amp;ghi;jkl.next=&amp;amp;abc;&lt;br /&gt;
&amp;nbsp;x=abc.next-&amp;gt;next-&amp;gt;prev-&amp;gt;next-&amp;gt;i;&lt;br /&gt;
&amp;nbsp;printf("%d",x);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
2&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;Explanation:&lt;br /&gt;
above all statements form a double circular linked list;&lt;br /&gt;
abc.next-&amp;gt;next-&amp;gt;prev-&amp;gt;next-&amp;gt;i&lt;br /&gt;
this one points to "ghi" node the value of at particular node is 2.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; struct point&lt;br /&gt;
&amp;nbsp;{&lt;br /&gt;
&amp;nbsp;int x;&lt;br /&gt;
&amp;nbsp;int y;&lt;br /&gt;
&amp;nbsp;};&lt;br /&gt;
struct point origin,*pp;&lt;br /&gt;
main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
pp=&amp;amp;origin;&lt;br /&gt;
printf("origin is(%d%d)\n",(*pp).x,(*pp).y);&lt;br /&gt;
printf("origin is (%d%d)\n",pp-&amp;gt;x,pp-&amp;gt;y);&lt;br /&gt;
}&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&lt;br /&gt;
Answer:&lt;br /&gt;
origin is(0,0)&lt;br /&gt;
origin is(0,0)&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
pp is a pointer to structure. we can access the elements of the structure either with arrow mark or with indirection operator.&lt;br /&gt;
Note:&lt;br /&gt;
Since structure point&amp;nbsp; is globally declared x &amp;amp; y are initialized as zeroes&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp;int i=_l_abc(10);&lt;br /&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;printf("%d\n",--i);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int _l_abc(int i)&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp;return(i++);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
9&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
return(i++) it will first return i and then increments. i.e. 10 will be returned.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp;char *p;&lt;br /&gt;
&amp;nbsp;int *q;&lt;br /&gt;
&amp;nbsp;long *r;&lt;br /&gt;
&amp;nbsp;p=q=r=0;&lt;br /&gt;
&amp;nbsp;p++;&lt;br /&gt;
&amp;nbsp;q++;&lt;br /&gt;
&amp;nbsp;r++;&lt;br /&gt;
&amp;nbsp;printf("%p...%p...%p",p,q,r);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
0001...0002...0004&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
++ operator&amp;nbsp; when applied to pointers increments address according to their corresponding data-types.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp;char c=' ',x,convert(z);&lt;br /&gt;
&amp;nbsp;getc(c);&lt;br /&gt;
&amp;nbsp;if((c&amp;gt;='a') &amp;amp;&amp;amp; (c&amp;lt;='z')) &amp;nbsp;x=convert(c); &amp;nbsp;printf("%c",x); &lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
convert(z)&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp; return z-32;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
Compiler error&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
declaration of convert and format of getc() are wrong.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;6.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; main(int argc, char **argv)&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp;printf("enter the character");&lt;br /&gt;
&amp;nbsp;getchar();&lt;br /&gt;
&amp;nbsp;sum(argv[1],argv[2]);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
sum(num1,num2)&lt;br /&gt;
int num1,num2;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp;return num1+num2;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
Compiler error.&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
argv[1] &amp;amp; argv[2] are strings. They are passed to the function sum without converting it to integer values.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;7.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; # include&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;stdio.h&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int one_d[]={1,2,3};&lt;br /&gt;
main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&amp;nbsp;int *ptr;&lt;br /&gt;
&amp;nbsp;ptr=one_d;&lt;br /&gt;
&amp;nbsp;ptr+=3;&lt;br /&gt;
&amp;nbsp;printf("%d",*ptr);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
garbage value&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
ptr pointer is pointing to out of the array range of one_d.&lt;/span&gt;&lt;/span&gt;&lt;/stdio.h&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-6227447306141693873?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/svd2R9Q3WSUQEofSJ78dsufLnoc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/svd2R9Q3WSUQEofSJ78dsufLnoc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/svd2R9Q3WSUQEofSJ78dsufLnoc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/svd2R9Q3WSUQEofSJ78dsufLnoc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/7B8XBy3QhW4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/6227447306141693873/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=6227447306141693873" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/6227447306141693873?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/6227447306141693873?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/7B8XBy3QhW4/c-programming-language-technical_06.html" title="C programming Language  Technical Interview Questions and Solution" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/c-programming-language-technical_06.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4MSHs_cSp7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-2884810376133527618</id><published>2011-03-09T01:29:00.000-08:00</published><updated>2011-03-09T01:29:49.549-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T01:29:49.549-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C and C++ question with solution" /><title>100+  C programming Technical Interview Questions With Answers</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: 'times new roman'; font-size: small;"&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;63.     main()&lt;br /&gt;
{&lt;br /&gt;
int k=1;&lt;br /&gt;
printf("%d==1 is ""%s",k,k==1?"TRUE":"FALSE");&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
1==1 is TRUE&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
When two strings are placed together (or separated by white-space) they are concatenated (this is called as "stringization" operation). So the string is as if it is given as "%d==1 is %s". The conditional operator( ?: ) evaluates to "TRUE".&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;64.       main()&lt;br /&gt;
{&lt;br /&gt;
int y;&lt;br /&gt;
scanf("%d",&amp;amp;y); // input given is 2000&lt;br /&gt;
if( (y%4==0 &amp;amp;&amp;amp; y%100 != 0) || y%100 == 0 )&lt;br /&gt;
printf("%d is a leap year");&lt;br /&gt;
else&lt;br /&gt;
printf("%d is not a leap year");&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
2000 is a leap year&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
An ordinary program to check if leap year or not.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;65.       #define max 5&lt;br /&gt;
#define int arr1[max]&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
typedef char arr2[max];&lt;br /&gt;
arr1 list={0,1,2,3,4};&lt;br /&gt;
arr2 name="name";&lt;br /&gt;
printf("%d %s",list[0],name);&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
Compiler error (in the line arr1 list = {0,1,2,3,4})&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
arr2 is declared of type array of size 5 of characters. So it can be used to declare the variable name of the type arr2. But it is not the case of arr1. Hence an error.&lt;br /&gt;
Rule of Thumb:&lt;br /&gt;
#defines are used for textual replacement whereas typedefs are used for declaring new types.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;66.       int i=10;&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
extern int i;&lt;br /&gt;
{&lt;br /&gt;
int i=20;&lt;br /&gt;
{&lt;br /&gt;
const volatile unsigned i=30;&lt;br /&gt;
printf("%d",i);&lt;br /&gt;
}&lt;br /&gt;
printf("%d",i);&lt;br /&gt;
}&lt;br /&gt;
printf("%d",i);&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
30,20,10&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
'{' introduces new block and thus new scope. In the innermost block i is declared as,&lt;br /&gt;
const volatile unsigned&lt;br /&gt;
which is a valid declaration. i is assumed of type int. So printf prints 30. In the next block, i has value 20 and so printf prints 20. In the outermost block, i is declared as extern, so no storage space is allocated for it. After compilation is over the linker resolves it to global variable i (since it is the only variable visible there). So it prints i's value as 10.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;67.       main()&lt;br /&gt;
{&lt;br /&gt;
int *j;&lt;br /&gt;
{&lt;br /&gt;
int i=10;&lt;br /&gt;
j=&amp;amp;i;&lt;br /&gt;
}&lt;br /&gt;
printf("%d",*j);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
10&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
The variable i is a block level variable and the visibility is inside that block only. But the lifetime of i is lifetime of the function so it lives upto the exit of main function. Since the i is still allocated space, *j prints the value stored in i since j points i.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;68.      main()&lt;br /&gt;
{&lt;br /&gt;
int i=-1;&lt;br /&gt;
-i;&lt;br /&gt;
printf("i = %d, -i = %d \n",i,-i);&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
i = -1, -i = 1&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
-i is executed and this execution doesn't affect the value of i. In printf first you just print the value of i. After that the value of the expression -i = -(-1) is printed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;69.       #include&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;stdio.h&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
const int i=4;&lt;br /&gt;
float j;&lt;br /&gt;
j = ++i;&lt;br /&gt;
printf("%d  %f", i,++j);&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
Compiler error&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
i is a constant. you cannot change the value of constant&lt;/span&gt;&lt;/span&gt;&lt;/stdio.h&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;70.       #include&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;stdio.h&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int a[2][2][2] = { {10,2,3,4}, {5,6,7,8}  };&lt;br /&gt;
int *p,*q;&lt;br /&gt;
p=&amp;amp;a[2][2][2];&lt;br /&gt;
*q=***a;&lt;br /&gt;
printf("%d..%d",*p,*q);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
garbagevalue..1&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
p=&amp;amp;a[2][2][2]  you declare only two 2D arrays. but you are trying to access the third 2D(which you are not declared) it will print garbage values. *q=***a starting address of a is assigned integer pointer. now q is pointing to starting address of a.if you print *q meAnswer:it will print first element of 3D array.&lt;/span&gt;&lt;/span&gt;&lt;/stdio.h&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;71.      #include&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;stdio.h&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
main()&lt;br /&gt;
{&lt;br /&gt;
register i=5;&lt;br /&gt;
char j[]= "hello";                   &lt;br /&gt;
printf("%s  %d",j,i);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
hello 5&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
if you declare i as register  compiler will treat it as ordinary integer and it will take integer value. i value may be  stored  either in register  or in memory.&lt;/span&gt;&lt;/span&gt;&lt;/stdio.h&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;72.      main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int i=5,j=6,z;&lt;br /&gt;
printf("%d",i+++j);&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="font-family: arial;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
11&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
the expression i+++j is treated as (i++ + j)   &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-2884810376133527618?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/1XT4zTp8jlvmcd_qomRHm1MqYdQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1XT4zTp8jlvmcd_qomRHm1MqYdQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/1XT4zTp8jlvmcd_qomRHm1MqYdQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/1XT4zTp8jlvmcd_qomRHm1MqYdQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/WIclhM6wE2s" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/2884810376133527618/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=2884810376133527618" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/2884810376133527618?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/2884810376133527618?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/WIclhM6wE2s/100-technical-interview-questions-with.html" title="100+  C programming Technical Interview Questions With Answers" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/100-technical-interview-questions-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4HR30yfyp7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-4255270981958431934</id><published>2011-03-09T01:28:00.001-08:00</published><updated>2011-03-09T01:28:56.397-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T01:28:56.397-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C and C++ question with solution" /><title>100+ C Technical Interview Questions With Solution</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: small;"&gt;&lt;div class="answers"&gt;&lt;span class="for_questions_blue" style="color: black; font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;Predict the output or error(s) for the following:&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;44.    main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
extern out;&lt;br /&gt;
printf("%d", out);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int out=100;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
100    &lt;br /&gt;
&lt;br /&gt;
Explanation: &lt;br /&gt;
This is the correct way of writing the previous program.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;45.       main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
show();&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
void show()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
printf("I'm the greatest");&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
Compier error: Type mismatch in redeclaration of show.&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
When the compiler sees the function show it doesn't know anything about it. So the default return type (ie, int) is assumed. But when compiler sees the actual definition of show mismatch occurs since it is declared as void. Hence the error.&lt;br /&gt;
The solutions are as follows:&lt;br /&gt;
1. declare void show() in main() .&lt;br /&gt;
2. define show() before main().&lt;br /&gt;
3. declare extern void show() before the use of show().&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;46.  main( )&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int a[2][3][2] = {{{2,4},{7,8},{3,4}},{{2,2},{2,3},{3,4}}};&lt;br /&gt;
printf(“%u %u %u %d \n”,a,*a,**a,***a);&lt;br /&gt;
printf(“%u %u %u %d \n”,a+1,*a+1,**a+1,***a+1);&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
100, 100, 100, 2&lt;br /&gt;
114, 104, 102, 3&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;47.   main( )&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int a[ ] = {10,20,30,40,50},j,*p;&lt;br /&gt;
for(j=0; j&amp;lt;5; p =" a;" j="0;"&amp;gt;&lt;br /&gt;
Answer:&lt;br /&gt;
Compiler error: lvalue required.&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
Error is in line with statement a++. The operand must be an lvalue and may be of any of scalar type for the any operator, array name only when subscripted is an lvalue. Simply array name is a non-modifiable lvalue.&lt;/span&gt;&lt;/span&gt;                      &lt;/b&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;48.       main( )&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
static int  a[ ]   = {0,1,2,3,4};&lt;br /&gt;
int  *p[ ] = {a,a+1,a+2,a+3,a+4};&lt;br /&gt;
int  **ptr =  p;&lt;br /&gt;
ptr++;&lt;br /&gt;
printf(“\n %d  %d  %d”, ptr-p, *ptr-a, **ptr);&lt;br /&gt;
*ptr++;&lt;br /&gt;
printf(“\n %d  %d  %d”, ptr-p, *ptr-a, **ptr);&lt;br /&gt;
*++ptr;&lt;br /&gt;
printf(“\n %d  %d  %d”, ptr-p, *ptr-a, **ptr);&lt;br /&gt;
++*ptr;&lt;br /&gt;
printf(“\n %d  %d  %d”, ptr-p, *ptr-a, **ptr);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
111&lt;br /&gt;
222&lt;br /&gt;
333&lt;br /&gt;
344&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;49.       main( )&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
void *vp;&lt;br /&gt;
char ch = ‘g’, *cp = “goofy”;&lt;br /&gt;
int j = 20;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;vp = &amp;amp;ch;&lt;br /&gt;
printf(“%c”, *(char *)vp);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;vp = &amp;amp;j;&lt;br /&gt;
printf(“%d”,*(int *)vp);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt; &lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;vp = cp;&lt;br /&gt;
printf(“%s”,(char *)vp + 3);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
g20fy&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
Since a void pointer is used it can be type casted to any  other type pointer. vp = &amp;amp;ch  stores address of char ch and the next statement prints the value stored in vp after type casting it to the proper data type pointer. the output is ‘g’. Similarly  the output from second printf is ‘20’. The third printf statement type casts it to print the string from the 4th value hence the output is ‘fy’.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;50.    main ( )&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
static char *s[ ]  = {“black”, “white”, “yellow”, “violet”};&lt;br /&gt;
char **ptr[ ] = {s+3, s+2, s+1, s}, ***p;&lt;br /&gt;
p = ptr;&lt;br /&gt;
**++p;&lt;br /&gt;
printf(“%s”,*--*++p + 3);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
ck&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
In this problem we have an array of char pointers pointing to start of 4 strings. Then we have ptr which is a pointer to a pointer of type char and a variable p which is a pointer to a pointer to a pointer of type char. p hold the initial value of ptr, i.e. p = s+3. The next statement increment value in p by 1 , thus now value of p =  s+2. In the printf statement the expression is evaluated *++p causes gets value s+1 then the pre decrement is executed and we get s+1 – 1 = s . the indirection operator now gets the value from the array of s and adds 3 to the starting address. The string is printed starting from this position. Thus, the output is ‘ck’.&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;51.    main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int  i, n;&lt;br /&gt;
char *x = “girl”;&lt;br /&gt;
n = strlen(x);&lt;br /&gt;
*x = x[n];&lt;br /&gt;
for(i=0; i&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;n;&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;   {&lt;br /&gt;
printf(“%s\n”,x);&lt;br /&gt;
x++;&lt;br /&gt;
}&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
(blank space)&lt;br /&gt;
irl&lt;br /&gt;
rl&lt;br /&gt;
l&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
Here a string (a pointer to char) is initialized with a value “girl”.  The strlen function returns the length of the string, thus n has a value 4. The next statement assigns value at the nth location (‘\0’) to the first location. Now the string becomes “\0irl” . Now the printf statement prints the string after each iteration it increments it starting position.  Loop starts from 0 to 4. The first time x[0] = ‘\0’ hence it prints nothing and pointer value is incremented. The second time it prints from x[1] i.e “irl” and the third time it prints “rl” and the last time it prints “l” and the loop terminates.&lt;/span&gt;&lt;/span&gt;&lt;/n;&gt;&lt;/b&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-4255270981958431934?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/GobZ5fuUG4-5Xbie3Iv3nrQBLHU/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GobZ5fuUG4-5Xbie3Iv3nrQBLHU/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/GobZ5fuUG4-5Xbie3Iv3nrQBLHU/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/GobZ5fuUG4-5Xbie3Iv3nrQBLHU/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/4PYMpo2JpTI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/4255270981958431934/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=4255270981958431934" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/4255270981958431934?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/4255270981958431934?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/4PYMpo2JpTI/100-technical-interview-questions-with_2151.html" title="100+ C Technical Interview Questions With Solution" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/100-technical-interview-questions-with_2151.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8MRHg6cCp7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-4822237080993069145</id><published>2011-03-09T01:28:00.000-08:00</published><updated>2011-03-09T01:28:05.618-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T01:28:05.618-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C and C++ question with solution" /><title>C Technical Programming  questions and solution</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: small;"&gt;&lt;div class="answers"&gt;&lt;span class="for_questions_blue" style="color: black; font-weight: bold; text-decoration: none;"&gt;Predict the output or error(s) for the following:&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="for_questions_blue" style="color: black; font-weight: bold; text-decoration: none;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;b&gt;25.   main()&lt;br /&gt;
&lt;/b&gt;{&lt;b&gt;&lt;br /&gt;
printf("%p",main);&lt;br /&gt;
&lt;/b&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
Some address will be printed.&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
Function names are just addresses (just like array names are addresses).&lt;br /&gt;
main() is also a function. So the address of function main will be printed. %p in printf specifies that the argument is an address. They are printed as hexadecimal numbers.&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;26.       main()&lt;br /&gt;
&lt;/b&gt;{&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;b&gt;clrscr();&lt;br /&gt;
&lt;/b&gt;}&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;b&gt;clrscr();&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
No output/error&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
The first clrscr() occurs inside a function. So it becomes a function call. In the second clrscr(); is a function declaration (because it is not inside any function).&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;27.       enum colors {BLACK,BLUE,GREEN}&lt;br /&gt;
main()&lt;br /&gt;
&lt;/b&gt;{&lt;b&gt;&lt;br /&gt;
&lt;br /&gt;
printf("%d..%d..%d",BLACK,BLUE,GREEN);&lt;br /&gt;
&lt;br /&gt;
return(1);&lt;br /&gt;
&lt;/b&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
0..1..2&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
enum assigns numbers starting from 0, if not explicitly defined.&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;28.       void main()&lt;br /&gt;
&lt;/b&gt;{&lt;b&gt;&lt;br /&gt;
char far *farther,*farthest;&lt;br /&gt;
&lt;br /&gt;
printf("%d..%d",sizeof(farther),sizeof(farthest));&lt;br /&gt;
&lt;br /&gt;
}&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
Answer:&lt;br /&gt;
4..2&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
the second pointer is of char type and not a far pointer&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;29.       main()&lt;br /&gt;
&lt;/b&gt;{&lt;b&gt;&lt;br /&gt;
int i=400,j=300;&lt;br /&gt;
printf("%d..%d");&lt;br /&gt;
&lt;/b&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
400..300&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
printf takes the values of the first two assignments of the program. Any number of printf's may be given. All of them take only the first two values. If more number of assignments given in the program, then printf will take garbage values.&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;30.       main()&lt;br /&gt;
&lt;/b&gt;{&lt;b&gt;&lt;br /&gt;
char *p;&lt;br /&gt;
p="Hello";&lt;br /&gt;
printf("%c\n",*&amp;amp;*p);&lt;br /&gt;
&lt;/b&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
H&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
* is a dereference operator &amp;amp; is a reference  operator. They can be    applied any number of times provided it is meaningful. Here  p points to  the first character in the string "Hello". *p dereferences it and so its value is H. Again  &amp;amp; references it to an address and * dereferences it to the value H.&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;31.       main()&lt;br /&gt;
&lt;/b&gt;{&lt;b&gt;&lt;br /&gt;
int i=1;&lt;br /&gt;
while (i&amp;lt;=5)     {        printf("%d",i);        if (i&amp;gt;2)&lt;br /&gt;
goto here;&lt;br /&gt;
i++;&lt;br /&gt;
}&lt;br /&gt;
&lt;/b&gt;}&lt;b&gt;&lt;br /&gt;
fun()&lt;br /&gt;
&lt;/b&gt;{&lt;b&gt;&lt;br /&gt;
here:&lt;br /&gt;
printf("PP");&lt;br /&gt;
&lt;/b&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
Compiler error: Undefined label 'here' in function main&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
Labels have functions scope, in other words The scope of the labels is limited to functions . The label 'here' is available in function fun() Hence it is not visible in function main.&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;32.       main()&lt;br /&gt;
&lt;/b&gt;{&lt;b&gt;&lt;br /&gt;
static char names[5][20]={"pascal","ada","cobol","fortran","perl"};&lt;br /&gt;
int i;&lt;br /&gt;
char *t;&lt;br /&gt;
t=names[3];&lt;br /&gt;
names[3]=names[4];&lt;br /&gt;
names[4]=t;&lt;br /&gt;
for (i=0;i&amp;lt;=4;i++)             &lt;/b&gt;printf("%s",names[i]);&lt;br /&gt;
}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
Compiler error: Lvalue required in function main&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
Array names are pointer constants. So it cannot be modified.&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;33.     void main()&lt;br /&gt;
&lt;/b&gt;{&lt;b&gt;&lt;br /&gt;
int i=5;&lt;br /&gt;
printf("%d",i++ + ++i);&lt;br /&gt;
&lt;/b&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
Output Cannot be predicted  exactly.&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
Side effects are involved in the evaluation of   i&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;34.       void main()&lt;br /&gt;
&lt;/b&gt;{&lt;b&gt;&lt;br /&gt;
int i=5;&lt;br /&gt;
printf("%d",i+++++i);&lt;br /&gt;
&lt;/b&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
Compiler Error&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
The expression i+++++i is parsed as i ++ ++ + i which is an illegal combination of operators.&lt;/div&gt;&lt;div class="answers"&gt;&lt;b&gt;35.       #include&lt;/b&gt;&lt;stdio.h&gt;&lt;b&gt;&lt;br /&gt;
main()&lt;br /&gt;
&lt;/b&gt;{&lt;b&gt;&lt;br /&gt;
int i=1,j=2;&lt;br /&gt;
switch(i)&lt;br /&gt;
{&lt;br /&gt;
case 1:  printf("GOOD");&lt;br /&gt;
break;&lt;br /&gt;
case j:  printf("BAD");&lt;br /&gt;
break;&lt;br /&gt;
}&lt;br /&gt;
&lt;/b&gt;}&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
Compiler Error: Constant expression required in function main.&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
The case statement can have only constant expressions (this implies that we cannot use variable names directly so an error).&lt;br /&gt;
Note:&lt;br /&gt;
Enumerated types can be used in case statements.&lt;/stdio.h&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-4822237080993069145?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/tI5uj1pQMebii8yN8qTszEolz98/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tI5uj1pQMebii8yN8qTszEolz98/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/tI5uj1pQMebii8yN8qTszEolz98/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/tI5uj1pQMebii8yN8qTszEolz98/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/46QPGkl5eVE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/4822237080993069145/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=4822237080993069145" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/4822237080993069145?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/4822237080993069145?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/46QPGkl5eVE/technical-questions-and-answers.html" title="C Technical Programming  questions and solution" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/technical-questions-and-answers.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8ASH45cCp7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-8081437858262412929</id><published>2011-03-09T01:27:00.000-08:00</published><updated>2011-03-09T01:27:29.028-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T01:27:29.028-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C and C++ question with solution" /><title>C Technical Interview Questions With Answers | C Programming Language Questions With Solution</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: small;"&gt;&lt;div class="answers"&gt;&lt;span class="for_questions_blue" style="color: black; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;Predict the output or error(s) for the following:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="style15"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;7&lt;/span&gt;&lt;/span&gt;&lt;span class="answers"&gt;&lt;span class="Apple-style-span"&gt;.      main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;span class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int i=-1,j=-1,k=0,l=2,m;&lt;br /&gt;
m=i++&amp;amp;&amp;amp;j++&amp;amp;&amp;amp;k++||l++;&lt;br /&gt;
printf("%d %d %d %d %d",i,j,k,l,m);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;span class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Answer:&lt;/b&gt;&lt;br /&gt;
0 0 1 3 1&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Explanation :&lt;/b&gt;&lt;br /&gt;
Logical operations always give a result of 1 or 0 . And also the logical AND (&amp;amp;&amp;amp;) operator has higher priority over the logical OR (||) operator. So the expression  ‘i++ &amp;amp;&amp;amp; j++ &amp;amp;&amp;amp; k++’ is executed first. The result of this expression is 0    (-1 &amp;amp;&amp;amp; -1 &amp;amp;&amp;amp; 0 = 0). Now the expression is 0 || 2 which evaluates to 1 (because OR operator always gives 1 except for ‘0 || 0’ combination- for which it gives 0). So the value of m is 1. The values of other variables are also incremented by 1.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;8.      main()&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
char *p;&lt;br /&gt;
printf("%d %d ",sizeof(*p),sizeof(p));&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;span class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt; &lt;/span&gt;&lt;span class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;
1 2&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
The sizeof() operator gives the number of bytes taken by its operand. P is a character pointer, which needs one byte for storing its value (a character). Hence sizeof(*p) gives a value of 1. Since it needs two bytes to store the address of the character pointer sizeof(p) gives 2.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;9.      main()&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int i=3;&lt;br /&gt;
switch(i)&lt;br /&gt;
{&lt;br /&gt;
default:printf("zero");&lt;br /&gt;
case 1: printf("one");&lt;br /&gt;
break;&lt;br /&gt;
case 2:printf("two");&lt;br /&gt;
break;&lt;br /&gt;
case 3: printf("three");&lt;br /&gt;
break;&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;span class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;br /&gt;
Answer :&lt;br /&gt;
three&lt;br /&gt;
&lt;br /&gt;
Explanation :&lt;br /&gt;
The default case can be placed anywhere inside the loop. It is executed only when all other cases doesn't match.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;10.      main()&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
printf("%x",-1&amp;lt;&amp;lt;4);&amp;gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;span class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
fff0&lt;br /&gt;
&lt;br /&gt;
Explanation :&lt;br /&gt;
-1 is internally represented as all 1's. When left shifted four times the least significant 4 bits are filled with 0's.The %x format specifier specifies that the integer value be printed as a hexadecimal value.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;11.      main()&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
char string[]="Hello World";&lt;br /&gt;
display(string);&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
void display(char *string)&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
printf("%s",string);&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;span class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
Compiler Error : Type mismatch in redeclaration of function display&lt;br /&gt;
&lt;br /&gt;
Explanation :&lt;br /&gt;
In third line, when the function display is encountered, the compiler doesn't know anything about the function display. It assumes the arguments and return types to be integers, (which is the default type). When it sees the actual function display, the arguments and type contradicts with what it has assumed previously. Hence a compile time error occurs.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;b&gt;&lt;span class="answers"&gt;&lt;span class="Apple-style-span"&gt;12.      main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;b&gt;&lt;span class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int c=- -2;&lt;br /&gt;
printf("c=%d",c);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;span class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
c=2;&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
Here unary minus (or negation) operator is used twice. Same maths  rules applies, ie. minus * minus= plus.&lt;br /&gt;
Note:&lt;br /&gt;
However you cannot give like --2. Because -- operator can  only be applied to variables as a decrement operator (eg., i--). 2 is a constant and not a variable.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;13.      #define int char&lt;br /&gt;
main()&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int i=65;&lt;br /&gt;
printf("sizeof(i)=%d",sizeof(i));&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;span class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
sizeof(i)=1&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
Since the #define replaces the string  int by the macro char&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;14.      main()&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;span class="answers"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int i=10;&lt;br /&gt;
i=!i&amp;gt;14;&lt;br /&gt;
Printf ("i=%d",i);&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;span class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;br /&gt;
Answer:&lt;br /&gt;
i=0&lt;br /&gt;
&lt;br /&gt;
Explanation:&lt;br /&gt;
In the expression !i&amp;gt;14 , NOT (!) operator has more precedence than ‘ &amp;gt;’ symbol.  ! is a unary logical operator. !i (!10) is 0 (not of true is false).  0&amp;gt;14 is false (zero).&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-8081437858262412929?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/F2q1EnElJ0Nytz0CCYzB420YKDw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/F2q1EnElJ0Nytz0CCYzB420YKDw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/F2q1EnElJ0Nytz0CCYzB420YKDw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/F2q1EnElJ0Nytz0CCYzB420YKDw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/cJey8SYXZfA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/8081437858262412929/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=8081437858262412929" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/8081437858262412929?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/8081437858262412929?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/cJey8SYXZfA/c-interview-questions-with-answers-c.html" title="C Technical Interview Questions With Answers | C Programming Language Questions With Solution" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/c-interview-questions-with-answers-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEANQn46fyp7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-6678314895434760375</id><published>2011-03-09T01:26:00.000-08:00</published><updated>2011-03-09T01:26:33.017-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T01:26:33.017-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C and C++ question with solution" /><title>C  Technical Interview Questions With Solution | C Programming Language Questions With Answers</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="border-collapse: collapse; font-size: small;"&gt;&lt;div class="answers"&gt;&lt;span class="for_questions_blue" style="color: black; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;Predict the output or error(s) for the following:&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="style15" style="color: blue; text-decoration: underline;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;1.    void main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int  const * p=5;&lt;br /&gt;
printf("%d",++(*p));&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;
Compiler error: Cannot modify a constant value.&lt;br /&gt;
Explanation: &lt;br /&gt;
p is a pointer to a "constant integer". But we tried to change the value of the "constant integer".&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;2.    main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
char s[ ]="man";&lt;br /&gt;
int i;&lt;br /&gt;
for(i=0;s[ i ];i++)&lt;br /&gt;
printf("\n%c%c%c%c",s[ i ],*(s+i),*(i+s),i[s]);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;
mmmm&lt;br /&gt;
aaaa&lt;br /&gt;
nnnn&lt;br /&gt;
&lt;b&gt;Explanation:&lt;/b&gt;&lt;br /&gt;
s[i], *(i+s), *(s+i), i[s] are all different ways of expressing the same idea. Generally  array name is the base address for that array. Here s is the base address. i is the index number/displacement from the base address. So, indirecting it with * is same as s[i]. i[s] may be surprising. But in the  case of  C  it is same as s[i].&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;3.      main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
float me = 1.1;&lt;br /&gt;
double you = 1.1;&lt;br /&gt;
if(me==you)&lt;br /&gt;
printf("I love U");&lt;br /&gt;
else&lt;br /&gt;
printf("I hate U");&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;
I hate U&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Explanation:&lt;/b&gt;&lt;br /&gt;
For floating point numbers (float, double, long double) the values cannot be predicted exactly. Depending on the number of bytes, the precession with of the value  represented varies. Float takes 4 bytes and long double takes 10 bytes. So float stores 0.9 with less precision than long double.&lt;br /&gt;
Rule of Thumb:&lt;br /&gt;
Never compare or at-least be cautious when using floating point numbers with relational operators (== , &amp;gt;, &amp;lt;, &amp;lt;=, &amp;gt;=,!= ) . &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;4.      main()&lt;br /&gt;
{&lt;br /&gt;
static int var = 5;&lt;br /&gt;
printf("%d ",var--);&lt;br /&gt;
if(var)&lt;br /&gt;
main();&lt;br /&gt;
}&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;
5 4 3 2 1&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Explanation:&lt;/b&gt;&lt;br /&gt;
When static storage class is given, it is initialized once. The change in the value of a static variable is retained even between the function calls. Main is also treated like any other ordinary function, which can be called recursively. &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;5.      main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
int c[ ]={2.8,3.4,4,6.7,5};&lt;br /&gt;
int j,*p=c,*q=c;&lt;br /&gt;
for(j=0;j&amp;lt;5;j++) j="0;j&amp;lt;5;j++){"&amp;gt;}&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Answer:&lt;/b&gt;&lt;br /&gt;
2 2 2 2 2 2 3 4 6 5&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Explanation:&lt;/b&gt;&lt;br /&gt;
Initially pointer c is assigned to both p and q. In the first loop, since only q is incremented and not c , the value 2 will be printed 5 times. In second loop p itself is incremented. So the values 2 3 4 6 5 will be printed.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="answers"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;6.      main()&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
extern int i;&lt;br /&gt;
i=20;&lt;br /&gt;
printf("%d",i);&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;}&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
Answer:&lt;/b&gt;&lt;br /&gt;
Linker Error : Undefined symbol '_i'&lt;br /&gt;
&lt;b&gt;Explanation:&lt;/b&gt;&lt;br /&gt;
extern storage class in the following declaration,&lt;br /&gt;
extern int i;&lt;br /&gt;
specifies to the compiler that the memory for i is allocated in some other program and that address will be given to the current program at the time of linking. But linker finds that no other variable of name i is available in any other program with memory space allocated for it. Hence a linker error has occurred .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-6678314895434760375?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4wqSSLluwtVKE4fPh7gJuQwMOsQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4wqSSLluwtVKE4fPh7gJuQwMOsQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4wqSSLluwtVKE4fPh7gJuQwMOsQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4wqSSLluwtVKE4fPh7gJuQwMOsQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/jfns48Cba0E" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/6678314895434760375/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=6678314895434760375" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/6678314895434760375?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/6678314895434760375?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/jfns48Cba0E/c-interview-questions-with-solution-c.html" title="C  Technical Interview Questions With Solution | C Programming Language Questions With Answers" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/c-interview-questions-with-solution-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAFQngzfCp7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-4397151636536806898</id><published>2011-03-09T01:25:00.000-08:00</published><updated>2011-03-09T01:25:13.684-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T01:25:13.684-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C and C++ question with solution" /><title>Style /Convention of writing Program in C++ programming language</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;h1 style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-weight: normal; white-space: pre;"&gt;C++ Programming Style Guidelines&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/h1&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;
1 Introduction&lt;br /&gt;
o 1.1 Layout of the Recommendations&lt;br /&gt;
o 1.2 Recommendations Importance&lt;br /&gt;
2 General Recommendations&lt;br /&gt;
3 Naming Conventions&lt;br /&gt;
o 3.1 General&lt;br /&gt;
o 3.2 Specific&lt;br /&gt;
4 Files&lt;br /&gt;
o 4.1 Source Files&lt;br /&gt;
o 4.2 Include Files and Include Statements&lt;br /&gt;
5 Statements&lt;br /&gt;
o 5.1 Types&lt;br /&gt;
o 5.2 Variables&lt;br /&gt;
o 5.3 Loops&lt;br /&gt;
o 5.4 Conditionals&lt;br /&gt;
o 5.5 Miscellaneous&lt;br /&gt;
6 Layout and Comments&lt;br /&gt;
o 6.1 Layout&lt;br /&gt;
o 6.2 White space&lt;br /&gt;
o 6.3 Comments&lt;/span&gt;&lt;/span&gt;   &lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;7 References&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;a href="http://geosoft.no/development/cppstyle.html"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: red;"&gt; &amp;nbsp; &amp;nbsp; Click Here............&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-4397151636536806898?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/iAstoatnr4IAzuNwAAEYFwmwBBM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iAstoatnr4IAzuNwAAEYFwmwBBM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/iAstoatnr4IAzuNwAAEYFwmwBBM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/iAstoatnr4IAzuNwAAEYFwmwBBM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/RnBiNnDqCUw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/4397151636536806898/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=4397151636536806898" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/4397151636536806898?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/4397151636536806898?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/RnBiNnDqCUw/c-programming-style-guidelines.html" title="Style /Convention of writing Program in C++ programming language" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2009/01/c-programming-style-guidelines.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIDQXo8cCp7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-7335736395507439326</id><published>2011-03-09T01:22:00.000-08:00</published><updated>2011-03-09T01:22:50.478-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T01:22:50.478-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C and C++ question with solution" /><title>Calculating Free Bytes (Wasted ) On Disk-Data Structures</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span" style="color: #ff6600;"&gt;Calculating Wasted Bytes On Disk&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;When a file gets stored on the disk, at a time DOS allocates one cluster for it. A cluster is nothing but a group of sectors. However, since all file sizes cannot be expected to be a multiple of 512 bytes, when a file gets stored often part of the cluster remains unoccupied. This space goes waste unless the file size grows to occupy these wasted bytes. The&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;following program finds out how much space is wasted for all files in all the directories of the current drive.&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;#include&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;#include&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;#include&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;#include&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;#include&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;unsigned bytes_per_cluster ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;unsigned long wasted_bytes ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;unsigned long num_files = 0 ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;main( )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;int ptr = 0, flag = 0, first = 0 ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;struct ffblk f[50] ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;struct dfree free ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;/* get cluster information and calculate bytes per cluster */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;getdfree ( 0, &amp;amp;free ) ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;bytes_per_cluster = free.df_bsec * free.df_sclus ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;chdir ( "\\" ) ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;/* check out files in root directory first */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;cal_waste( ) ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;/* loop until all directories scanned */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;while ( ptr != -1 )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;/* should I do a findfirst or a findnext? */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;if ( first == 0 )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;flag = findfirst ( "*.*", &amp;amp;f[ptr], FA_DIREC ) ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;flag = findnext ( &amp;amp;f[ptr] ) ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;while ( flag == 0 )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;/* make sure its a directory and skip over . &amp;amp; .. entries */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;if ( f[ptr].ff_attrib == FA_DIREC &amp;amp;&amp;amp; f[ptr].ff_name[0] != '.' )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;flag = chdir ( f[ptr].ff_name ) ; /* try changing directories */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;if ( flag == 0 ) /* did change dir work? */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;cal_waste( ) ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;first = 0 ; /* set for findfirst on next pass */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;break ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;flag = findnext ( &amp;amp;f[ptr] ) ; /* search for more dirs */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;if ( flag != 0 || ptr == 49 ) /* didn't find any more dirs */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;ptr-- ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;chdir ( ".." ) ; /* go back one level */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;first = 1 ; /* set to findnext on next pass */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;else&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;ptr++ ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;printf ( "There are %lu bytes wasted in %lu files.\n", wasted_bytes,&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;num_files ) ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;cal_waste( )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;int flag = 0 ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;long full_cluster ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;struct ffblk ff ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;/* look for all file types */&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;flag = findfirst ( "*.*", &amp;amp;ff, FA_RDONLY | FA_HIDDEN | FA_SYSTEM | FA_ARCH&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;) ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;while ( flag == 0 )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;num_files++ ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;full_cluster = ff.ff_fsize / bytes_per_cluster * bytes_per_cluster ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;wasted_bytes += bytes_per_cluster - ( ff.ff_fsize - full_cluster ) ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;flag = findnext ( &amp;amp;ff ) ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-7335736395507439326?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/DQiMTZU83wuMUsc8ERF6gWpMweI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DQiMTZU83wuMUsc8ERF6gWpMweI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/DQiMTZU83wuMUsc8ERF6gWpMweI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/DQiMTZU83wuMUsc8ERF6gWpMweI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/wUVWeDCZXcM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/7335736395507439326/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=7335736395507439326" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/7335736395507439326?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/7335736395507439326?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/wUVWeDCZXcM/calculating-wasted-bytes-on-disk-data.html" title="Calculating Free Bytes (Wasted ) On Disk-Data Structures" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/11/calculating-wasted-bytes-on-disk-data.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkMASHo7fSp7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-4966205737048311085</id><published>2011-03-09T00:42:00.000-08:00</published><updated>2011-03-09T00:47:29.405-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T00:47:29.405-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Menu" /><title>Free C Tutorials</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;ol style="text-align: left;"&gt;&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2009/09/quick-tips-for-loop-statement-in-c.html"&gt;Quick Tips for Loop Statement in C programming&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2009/09/switch-case-using-tips-in-c-programming.html"&gt;switch - case  using  tips in c programming&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2009/09/using-tips-if-else-statement-in-c.html"&gt;using tips If-Else statement in C programming&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2009/09/c-programming-operator-using-tips.html"&gt;c programming operator using   tips&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2009/01/standards-and-style-for-coding-in-ansi.html"&gt;Standards and Style for Coding in ANSI C &amp;nbsp; &amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt; &lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2009/01/solitaire-in-c-coding.html"&gt;Solitaire in C Coding&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2008/11/polish-notation-in-data-structures.html"&gt;Polish Notation in  Data Structures&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2008/11/how-does-c-compiler-stores-float-values.html"&gt;C compiler stores float values ?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2008/11/which-is-best-sorting-method.html"&gt;Types Sorting method&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2008/11/information-hiding-in-c-programming.html"&gt;Information Hiding in C programming language?&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2008/11/priority-queue-data-structures.html"&gt;Priority queue - Data Structures&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2008/11/what-is-garbage-collection-system.html"&gt;Garbage collection - System Utility( programming language)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2008/11/hashing-or-hash-addressing-is-searching.html"&gt;Hashing or hash addressing (Searching Technique)&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2008/11/unique-combinations-for-given-number-in.html"&gt;Unique combinations for a given number in c programming language&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2008/11/exception-handling-in-c-programming.html"&gt;Exception Handling in C programming language&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;li&gt;&lt;h3 class="post-title entry-title" style="font-weight: normal; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&lt;a href="http://wikipointer.blogspot.com/2008/11/radix-sort-data-structures.html"&gt;Radix Sort - Data Structures&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Click here for more....&lt;/a&gt;&lt;/span&gt;&lt;/h3&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-4966205737048311085?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/e4sP2do-7UiZoXALk7gyFrAVtbQ/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e4sP2do-7UiZoXALk7gyFrAVtbQ/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/e4sP2do-7UiZoXALk7gyFrAVtbQ/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/e4sP2do-7UiZoXALk7gyFrAVtbQ/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/huKO-4yebAU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/4966205737048311085/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=4966205737048311085" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/4966205737048311085?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/4966205737048311085?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/huKO-4yebAU/free-c-tutorials.html" title="Free C Tutorials" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2011/03/free-c-tutorials.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkIMR3k6cCp7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-3943035482943373435</id><published>2009-09-02T15:23:00.000-07:00</published><updated>2011-03-09T00:49:46.718-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T00:49:46.718-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C Tutorial" /><title>Quick Tips for Loop Statement in C programming</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;ol start="1" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;there      are three types of loop such as a) for loop b) while loop and c)do-while      loop the purpose of each loop are same ( to repeat some part of the      program) . but why there are three type of&lt;/span&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;      loop:&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-indent: -0.25in;"&gt;&lt;span style="font-size: small;"&gt;a)&lt;span style="font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;for loop : if the loop will continue finite number of times.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-indent: -0.25in;"&gt;&lt;span style="font-size: small;"&gt;b)&lt;span style="font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;While loop: if the loop will continue unknown number of times .&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-indent: -0.25in;"&gt;&lt;span style="font-size: small;"&gt;c)&lt;span style="font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;Do..while loop: if the loop will continue at least one.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start="2" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;zero      (0) evaluate to false .&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start="1" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="a"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;if 0      is used as an expression in while loop , the condition is false and loop      does not executed.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;If 0      is used as an expression in do while the condition is false and loop      execute at least once.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;If 0      is used as an expression in for loop the condition is false and loop is      execute at least once and it is equivalent to do .. while loop.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start="3" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;if we      drop all part of the for loop it is infinite loop , and drop all parts of      while&lt;/span&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; and do …while loop is an      error.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;break      statement used only with switch statement and loop statement.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;Terminated      with semicolon(;) in for loop is infinite loop , and in while loop it is      infinite and in do...while loop it is compulsory.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;Dropping      {} in for loop is not infinite , in while it is infinite but in do while      it is necessary and infinite.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;the      frequent variable only used with loop constant.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;use      register keyword in frequent used of variable . &lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for example : register int i;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; for(i=0;i&amp;lt;=100;i++)&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; printf(“%d”,i); &lt;/span&gt;&lt;/div&gt;&lt;ol start="9" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;for loop is pre tested , while is pre      tested where as do…while is post tested .for an example: for (;8&amp;lt;2;)&amp;gt;  &lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;there      are three important factors are necessary for any type of loop .&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 117pt; text-indent: -0.25in;"&gt;&lt;span style="font-size: small;"&gt;a.&lt;span style="font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;start value&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 117pt; text-indent: -0.25in;"&gt;&lt;span style="font-size: small;"&gt;b.&lt;span style="font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;stop value&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 117pt; text-indent: -0.25in;"&gt;&lt;span style="font-size: small;"&gt;c.&lt;span style="font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;step value&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start="11" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;if we      drop the step value it is an infinite loop.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;if the      loop counter value is beyond of its range then that loop is infinite loop.&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;function      recursion is the replacement of loop. &lt;/span&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-3943035482943373435?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/MU4jc-XKK8118EMfT36F3zRTEoo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MU4jc-XKK8118EMfT36F3zRTEoo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/MU4jc-XKK8118EMfT36F3zRTEoo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/MU4jc-XKK8118EMfT36F3zRTEoo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/XzIsEgjl2iw" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/3943035482943373435/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=3943035482943373435" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/3943035482943373435?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/3943035482943373435?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/XzIsEgjl2iw/quick-tips-for-loop-statement-in-c.html" title="Quick Tips for Loop Statement in C programming" /><author><name>Wonder</name><uri>http://www.blogger.com/profile/00242646200529303784</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_FoAH3qqpRSs/SW0nIS_RvVI/AAAAAAAAFGI/HkwEgt_3gzk/S220/bipasha99.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2009/09/quick-tips-for-loop-statement-in-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkEDRX4yfSp7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-6424387991504708010</id><published>2009-09-02T15:21:00.000-07:00</published><updated>2011-03-09T00:51:14.095-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T00:51:14.095-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C Tutorial" /><title>Switch Case  using  tips in c programming</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;ol start="1" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in; text-align: left;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;if the      case match with an expression execution start from the case.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;Example : void main()&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;{&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; int x=2;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;switch(x)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;{&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; case 1:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;printf(“one”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; break;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;case 2:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;printf(“two”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;break;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;}&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start="2" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in; text-align: left;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;if      none of the case are satisfied then the default case is satisfied&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;example : void main()&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; int x=102;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; switch(x)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; {&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 10: printf(“ I am a reader”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; case 11:printf(“I am writer”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; default: printf(“I am programmer”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;3.case character must be integral constant.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;4.break is used to prevent the falling of control from one case to another case&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;5. case can in any order.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;6.In the switch statement , the keyword ‘continue ‘ cannot be used in place of ‘break’. The compiler will generate an error message . the use of continue will not take the control to the beginning of switch as one is likely to believe.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;7.duplicate case is not allowed.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;8. the default case is optional . if there is no match case and there is no default case , then the compiler does not report the error.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;9.case character can be constant or constant expression but not variable.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;10. if 0 is given as an argument in if , while and do-while , it&lt;/span&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; evaluates to false but in switch it evaluates as an expression.&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 1in; text-align: left;"&gt;&lt;span style="font-size: small;"&gt;11. switch case used for menu driven program&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-6424387991504708010?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ji8uBMZM6LmNWOS-THtSRviT8Dk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ji8uBMZM6LmNWOS-THtSRviT8Dk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ji8uBMZM6LmNWOS-THtSRviT8Dk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ji8uBMZM6LmNWOS-THtSRviT8Dk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/tkhfjz255Fc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/6424387991504708010/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=6424387991504708010" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/6424387991504708010?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/6424387991504708010?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/tkhfjz255Fc/switch-case-using-tips-in-c-programming.html" title="Switch Case  using  tips in c programming" /><author><name>Wonder</name><uri>http://www.blogger.com/profile/00242646200529303784</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_FoAH3qqpRSs/SW0nIS_RvVI/AAAAAAAAFGI/HkwEgt_3gzk/S220/bipasha99.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2009/09/switch-case-using-tips-in-c-programming.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkEMRn89eSp7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-7429234418068222008</id><published>2009-09-02T15:18:00.000-07:00</published><updated>2011-03-09T00:51:27.161-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T00:51:27.161-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C Tutorial" /><title>using tips If-Else statement in C programming</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;ol start="1" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;if the      expression is evaluated with true then it is replace with 1 otherwise&lt;/span&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; replaced with 0.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Example : if( 5&amp;gt;3) &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Printf(“YES”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Printf(“no”);&lt;/span&gt;&lt;/div&gt;&lt;ol start="2" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;if      multiple statement are given in the if expression the order of evaluation      is form left to right.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Example&lt;/span&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; int a=5;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If (a++ ,a=a-5,a--;a)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Printf(“yes”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Else&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Printf(“NO”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;3.Nested if can be replace with logical &amp;amp;&amp;amp; operator &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; Example :-&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Int a=1,b=2,c=3;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; If(a==1)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; If(b==2)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;If(c==3)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;Printf(“BOSS”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start="4" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;ternary      operator (?:) sometimes replaced the if statement .&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;example : if (a&amp;gt;65)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; printf(“hi”;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;else&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;printf(“bye”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;using ternary operator:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;a&amp;gt;65?printf(“hi”);printf(“bye”);&lt;/span&gt;&lt;/div&gt;&lt;ol start="5" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;hanging      if is not allowed , and it always cause an error misplaced else&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; example:&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; if(6&amp;gt;2)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;printf(“yes”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;printf(“no”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;else&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;printf(“bye”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start="6" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;‘else      ‘ is optional part of the if statement&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start="7" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;else(:)      is compulsory in conditional operator .&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;example :&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;64&amp;gt;3 ? printf(“yes”) : printf(“”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start="8" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;nested      if is differ from multiple if&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;example :&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;nested if&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;int a=1,b=2,c=3;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;if(a==1)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;if(b==2)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;if(c==3)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;printf(“BOSS”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;multiple if&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;int avg=75;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;if(( avg&amp;gt;=60)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;printf(“first”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;if (avg&amp;gt;=40 &amp;amp;&amp;amp; avg&amp;lt;60)&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; printf(“second”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;if(avg&amp;gt;=30 &amp;amp;&amp;amp; avg&amp;lt;40)&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;ol start="9" style="font-family: Arial,Helvetica,sans-serif; margin-top: 0in;" type="1"&gt;&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;There      are other conditional statement like #if , #else , #elseif etc used with      preprocessor directive&lt;/span&gt;&lt;/li&gt;
&lt;li class="MsoNormal"&gt;&lt;span style="font-size: small;"&gt;alwaysuse      the “else&lt;/span&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp; if” instead of multiple      if.&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Int avg=75;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;If(avg&amp;gt;=60)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;Printf(“first”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;If(avg&amp;gt;=40 &amp;amp;&amp;amp; avg&amp;lt;60)&lt;/span&gt;&lt;/div&gt;&lt;div style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;Printf(“second”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;If (avg&amp;gt;= 30 &amp;amp;&amp;amp; avg&amp;lt;40)&amp;gt;  &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Use else if&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Int avg=75;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;If(avg&amp;gt;=60)&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;Printf(“first”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Else If(avg&amp;gt;=40 )&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;Printf(“second”);&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;Else (avg&amp;gt;= 30 )&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;………….. &lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-7429234418068222008?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/W0jBjwTArDzHLMd8e0FnWJEZQNI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W0jBjwTArDzHLMd8e0FnWJEZQNI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/W0jBjwTArDzHLMd8e0FnWJEZQNI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/W0jBjwTArDzHLMd8e0FnWJEZQNI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/I6lkBfvR13g" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/7429234418068222008/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=7429234418068222008" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/7429234418068222008?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/7429234418068222008?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/I6lkBfvR13g/using-tips-if-else-statement-in-c.html" title="using tips If-Else statement in C programming" /><author><name>Wonder</name><uri>http://www.blogger.com/profile/00242646200529303784</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_FoAH3qqpRSs/SW0nIS_RvVI/AAAAAAAAFGI/HkwEgt_3gzk/S220/bipasha99.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2009/09/using-tips-if-else-statement-in-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkAERXs8fip7ImA9Wx9aFks.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-6298565499047258527</id><published>2009-09-02T15:14:00.000-07:00</published><updated>2011-03-09T00:51:44.576-08:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-09T00:51:44.576-08:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="C Tutorial" /><title>c programming operator using   tips</title><content type="html">&lt;div dir="ltr" style="text-align: left;" trbidi="on"&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 27pt; text-indent: -0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;1.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Precedence decides which operator should be perform first&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Example:-&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;P = 6 / 2 + 4 * 3 &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;(Operator /&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;and&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;* enjoy same priority&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;so it is evaluated from&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Left to Right)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;P = &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;u&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;6 / 2&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;+ 4 * 3&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;[ Operation&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;of&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;/ ]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;P = 3 + &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;u&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;4 * 3&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;[ Operation of *]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;P = &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;u&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;3 + 12&lt;/span&gt;&lt;/span&gt;&lt;/u&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;[ Operation of +]&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;P =&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;15&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;2. Associative determine the order of evaluation&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;3. Left to Right&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&amp;amp; Right to left are two associative rules used when two or more than two same&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;operators enjoy the same Priority.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;4. There is no operators in C to find out the value of “ A&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;raised to&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;power B”.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;5. comma ( ,) operator is the lowest priority form the group of 45 operator.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;6. parenthesis ( ), [], . and -&amp;gt; having highest priority from group of 45 operators .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;7. Sizeof( ) is an operator and a keyword which look like function.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;8. Modules ( %) is an operator that works with only integral type.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Example:-&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Float x ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;X = 10.0 % 3 ; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Printf(“ %f ”, x); &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;//( wrong approach )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Int x ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;X = 10 / 3 ;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Printf ( “%d”, x) ;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;// right approach&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;9. C does not allow “culprits” &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;such as ** ,// &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;example :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;int a=4;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;a**;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;printf(“%d”, a);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;10. unary operator (++,--) Can apply to variable not to constants.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;11.unary operator plus (+) is dummy operator.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Int a=6;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;+a;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;printf (“%d”,a);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;12. some time ternary operator (?:) replace the conditional if statement.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Like&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;example:-&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Int a=6;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;If(a&amp;gt;5)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Printf(“hello”);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Else&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Printf(“hi”);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;(a&amp;gt;=5)?printf(“hello”):printf(“hi”);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;13.comma and parenthesis are twin brothers.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Example :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;While ( (P=getch() )!= EOF)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;While ( p=getch() ,!=EOF )&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;14. Return Keyword cannot be used with ternary operator (?:)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;void main()&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;int p=5;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;p&amp;gt;65540? Return1 : return 0;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;15.the bit wise operator work with only integer and character .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;16. continuous triple plus (+++) is allowed but not more or less.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;For example:&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Int a=3 b;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;B = a+++5; // means b = a ++ + 5&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;which is 8&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 42pt; text-indent: -24pt;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;17.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;More then one + is allow in same statement but space matter a lot between operator .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 42pt; text-indent: -24pt;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;18.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;## operator helps to concatenate between tokens&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 42pt;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;#define m (x) printf(“yes %d”, a##x)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 42pt;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;void main()&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 42pt;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;{&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 42pt;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;int a1=32;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 42pt;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;int a2=30;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 42pt;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;m(1);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 42pt;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;m(2);&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 42pt;"&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;}&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 42pt; text-indent: -24pt;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;19.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;Turboc used many punctuation know as separators like (), [],.. etc.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 42pt; text-indent: -24pt;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;20.&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size-adjust: none; font-stretch: normal; font-style: normal; font-variant: normal; font-weight: normal; line-height: normal;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;caste operator is an operator which is a signal (force) to compiler to convert one caste to other caste .&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;example :-&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;float x; x =&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;(float) 5/2;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;21. all operators in C can be overload in c++ but except &lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;&lt;b&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;?: , .* ::&lt;/span&gt;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt; etc&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;span style="font-size: small;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div class="MsoNormal" style="font-family: Arial,Helvetica,sans-serif; margin-left: 0.25in;"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-6298565499047258527?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/TIyXVngCT2C1_uUakj1n5h6bKic/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TIyXVngCT2C1_uUakj1n5h6bKic/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/TIyXVngCT2C1_uUakj1n5h6bKic/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TIyXVngCT2C1_uUakj1n5h6bKic/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/3GgP8RbkIug" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/6298565499047258527/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=6298565499047258527" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/6298565499047258527?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/6298565499047258527?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/3GgP8RbkIug/c-programming-operator-using-tips.html" title="c programming operator using   tips" /><author><name>Wonder</name><uri>http://www.blogger.com/profile/00242646200529303784</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="23" height="32" src="http://2.bp.blogspot.com/_FoAH3qqpRSs/SW0nIS_RvVI/AAAAAAAAFGI/HkwEgt_3gzk/S220/bipasha99.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2009/09/c-programming-operator-using-tips.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EARng6fip7ImA9WxNTEU0.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-3765834485963233671</id><published>2009-07-12T16:39:00.000-07:00</published><updated>2009-08-12T11:27:27.616-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-08-12T11:27:27.616-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Free Career Assessment Test" /><category scheme="http://www.blogger.com/atom/ns#" term="General Aptitude links" /><title>Career Aptitude Test Question with Solutions Collection</title><content type="html">&lt;span class="Apple-style-span"   style="border-collapse: collapse; color: rgb(0, 0, 102);font-family:arial;font-size:100%;"&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;others Links of General Aptitude Question's&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span"&gt;index&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;1.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/math-trivias-questions-and-answers.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Math Trivias Questions And Answers&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;2.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-and.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Quantitative Aptitude Questions and SOLUTION | Aptitude Interview Questions and SOLUTION&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;3.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/best-placement-aptitude-questions.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Best Placement Aptitude Questions Interview Questions and Answers &lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;4.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-knowledge-interview-questions.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Aptitude Knowledge Interview Questions and Answers &lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;5.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-with-solutions-and.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Aptitude Questions WITH SOLUTIONS and Free Aptitude Tests with Interview Questions WITH SOLUTIONS &lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;6.I&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/infosys-placement-aptitude-interview.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;nfosys placement Aptitude Interview Questions and Answers&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;7.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-assessment-questions.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;General Aptitude Assessment Questions and Answers &lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;8.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/general-placement-aptitude-test-with.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;General Placement Aptitude Test WITH SOLUTIONS&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;9.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/self-referential-aptitude-test.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Self-Referential Aptitude Test Questions and Solution&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;10.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-with.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Quantitative Aptitude Questions with Solution | Aptitude Interview Questions with Solution&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;11.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/placement-aptitude-paper-with-solutions.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Placement APTITUDE PAPER WITH SOLUTIONS &lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;12.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-test-battery-with.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;GENERAL APTITUDE TEST BATTERY with SOLUTIONS&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;13.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/sample-logical-aptitude-questions-and.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Sample Logical Aptitude Questions and Answers &lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;14.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/logical-aptitude-placement-questions.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Logical &amp;amp; Aptitude Placement Questions and Answers &lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;15.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-questions.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Aptitude Questions | Interview Questions and Solution&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;p class="answers"   style=" ;font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;16.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Quantitative Aptitude Questions | Interview Questions and Answers&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt; &lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;&lt;span class="Apple-style-span"&gt;17.&lt;/span&gt;&lt;/span&gt;&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-aptitude.html"&gt;&lt;span class="Apple-style-span" style="color: rgb(255, 0, 0);"&gt;&lt;span class="Apple-style-span"&gt;Aptitude Questions Interview | Aptitude Questions and Answers &lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-3765834485963233671?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/RXAL5dgLKtt3bVDfaRIrOR_kk7Y/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RXAL5dgLKtt3bVDfaRIrOR_kk7Y/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/RXAL5dgLKtt3bVDfaRIrOR_kk7Y/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/RXAL5dgLKtt3bVDfaRIrOR_kk7Y/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/eLcDbSvn0NE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/3765834485963233671/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=3765834485963233671" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/3765834485963233671?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/3765834485963233671?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/eLcDbSvn0NE/links-of-general-aptitude-question-with.html" title="Career Aptitude Test Question with Solutions Collection" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2009/01/links-of-general-aptitude-question-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEYMQno5fyp7ImA9WxJbEk0.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-8415721118208289333</id><published>2009-07-11T18:21:00.000-07:00</published><updated>2009-07-21T11:49:43.427-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-21T11:49:43.427-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="General Aptitude links" /><title>General aptitude -  Questions with  Answers</title><content type="html">&lt;span class="Apple-style-span"  style="border-collapse: collapse;font-family:'times new roman';"&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue"  style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;One of the following is my secret word: AIM DUE MOD OAT TIE. With the list in front of you, if I were to tell you any one of my secret word, then you would be able to tell me the number of vowels in my secret word. Which is my secret word?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans.TIE&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue"  style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;One of Mr. Horton, his wife, their son, and Mr. Horton's mother is a doctor and another is a lawyer.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;a)If the doctor is younger than the lawyer, then the doctor and the lawyer are not blood relatives.&lt;br /&gt;b)If the doctor is a woman, then the doctor and the lawyer are blood relatives.&lt;br /&gt;c)If the lawyer is a man, then the doctor is a man.&lt;br /&gt;Whose occupation you know?&lt;br /&gt;&lt;br /&gt;Ans.Mr. Horton:he is the doctor.&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue"  style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Mr. and Mrs. Aye and Mr. and Mrs. Bee competed in a chess tournament. Of the three games played:&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;a)In only the first game were the two players married to each other.&lt;br /&gt;b)The men won two games and the women won one game.&lt;br /&gt;c)The Ayes won more games than the Bees.&lt;br /&gt;d)Anyone who lost game did not play the subsequent game.&lt;br /&gt;Who did not lose a game?&lt;br /&gt;&lt;br /&gt;Ans.Mrs.Bee did not lose a game.&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue"  style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Three piles of chips--pile I consists one chip, pile II consists of chips, and pile III consists of three chips--are to be used in game played by Anita and Brinda. The game requires:&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;a)That each player in turn take only one chip or all chips from just one pile.&lt;br /&gt;b)That the player who has to take the last chip loses.&lt;br /&gt;c)That Anita now have her turn.&lt;br /&gt;From which pile should Anita draw in order to win?&lt;br /&gt;&lt;br /&gt;Ans.Pile II&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue"  style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Of Abdul, Binoy, and Chandini:&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;a)Each member belongs to the Tee family whose members always tell the truth or to the El family whose members always lie.&lt;br /&gt;b)Abdul says ''Either I belong or Binoy belongs to a different family from the other two."&lt;/span&gt;&lt;span class="for_questions_blue"  style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Whose family do you name of?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans.Binoy's family--El.&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue"  style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;In a class composed of x girls and y boys what part of the class is composed of girls&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;A.y/(x + y)&lt;br /&gt;B.x/xy&lt;br /&gt;C.x/(x + y)&lt;br /&gt;D.y/xy&lt;br /&gt;&lt;br /&gt;Ans.C&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue"  style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;What is the maximum number of half-pint bottles of cream that can be filled with a 4-gallon can of cream(2 pt.=1 qt. and 4 qt.=1 gal)&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;A.16&lt;br /&gt;B.24&lt;br /&gt;C.30&lt;br /&gt;D.64&lt;br /&gt;&lt;br /&gt;Ans.D&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue"  style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;f the operation,^ is defined by the equation x ^ y = 2x + y, what is the value of a in 2 ^ a = a ^ 3&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;A.0&lt;br /&gt;B.1&lt;br /&gt;C.-1&lt;br /&gt;D.4&lt;br /&gt;&lt;br /&gt;Ans.B&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue"  style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A coffee shop blends 2 kinds of coffee, putting in 2 parts of a 33p. a gm. grade to 1 part of a 24p. a gm. If the mixture is changed to 1 part of the 33p. a gm. to 2 parts of the less expensive grade, how much will the shop save in blending 100 gms.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;A.Rs.90&lt;br /&gt;B.Rs.1.00&lt;br /&gt;C.Rs.3.00&lt;br /&gt;D.Rs.8.00&lt;br /&gt;&lt;br /&gt;Ans.C&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue"  style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;There are 200 questions on a 3 hr examination.Among these questions are 50 mathematics problems.It is suggested that twice as much time be spent on each maths problem as for each other question.How many minutes should be spent on mathematics problems&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;A.36&lt;br /&gt;B.72&lt;br /&gt;C.60&lt;br /&gt;D.100&lt;br /&gt;&lt;br /&gt;Ans.B&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span"   style="border-collapse: separate; color: rgb(153, 153, 153); letter-spacing: 1px; line-height: 14px; text-transform: uppercase;font-family:'Trebuchet MS';font-size:10;"&gt;&lt;div class="post-body" style="margin: 0px 0px 0.75em; line-height: 1.6em;"&gt;&lt;p class="answers"   style="font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span"  style="font-size:24;"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;others Links of General Aptitude Question's&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;index&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;1.&lt;a href="http://wikipointer.blogspot.com/2008/10/math-trivias-questions-and-answers.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Math Trivias Questions And Answers&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;2.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions and SOLUTION | Aptitude Interview Questions and SOLUTION &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;3.&lt;a href="http://wikipointer.blogspot.com/2008/10/best-placement-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Best Placement Aptitude Questions Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;4.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-knowledge-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Knowledge Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;5.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-with-solutions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions WITH SOLUTIONS and Free Aptitude Tests with Interview Questions WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;6.I&lt;a href="http://wikipointer.blogspot.com/2008/10/infosys-placement-aptitude-interview.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;nfosys placement Aptitude Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;7.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-assessment-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;General Aptitude Assessment Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;8.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-placement-aptitude-test-with.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;General Placement Aptitude Test WITH SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;9.&lt;a href="http://wikipointer.blogspot.com/2008/10/self-referential-aptitude-test.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Self-Referential Aptitude Test Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;10.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions with Solution | Aptitude Interview Questions with Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;11.&lt;a href="http://wikipointer.blogspot.com/2008/10/placement-aptitude-paper-with-solutions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Placement APTITUDE PAPER WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;12.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-test-battery-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;GENERAL APTITUDE TEST BATTERY with SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;13.&lt;a href="http://wikipointer.blogspot.com/2008/10/sample-logical-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Sample Logical Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;14.&lt;a href="http://wikipointer.blogspot.com/2008/10/logical-aptitude-placement-questions.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Logical &amp;amp; Aptitude Placement Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;15.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions | Interview Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;16.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions | Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;17.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-aptitude.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Aptitude Questions Interview | Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style="clear: both;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="post-footer"   style="margin: 0.75em 0px; color: rgb(153, 153, 153); text-transform: uppercase; letter-spacing: 0.1em; font-style: normal; font-variant: normal; font-weight: normal; font-size-adjust: none; font-stretch: normal; line-height: 1.4em;font-family:'Trebuchet MS',Trebuchet,Arial,Verdana,sans-serif;font-size:78%;"&gt;&lt;p class="post-footer-line post-footer-line-2"&gt;&lt;span class="post-labels"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-8415721118208289333?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ioV0GK2wqJIkHjVVx-zNtL0z5t8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ioV0GK2wqJIkHjVVx-zNtL0z5t8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ioV0GK2wqJIkHjVVx-zNtL0z5t8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ioV0GK2wqJIkHjVVx-zNtL0z5t8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/8yM_E0Hesw4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/8415721118208289333/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=8415721118208289333" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/8415721118208289333?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/8415721118208289333?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/8yM_E0Hesw4/math-trivias-questions-and-answers.html" title="General aptitude -  Questions with  Answers" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/math-trivias-questions-and-answers.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEAMQ3k-fyp7ImA9WxJVFEg.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-6113382052961845075</id><published>2009-07-11T18:20:00.000-07:00</published><updated>2009-07-01T05:53:02.757-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-01T05:53:02.757-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="General Aptitude links" /><title>Quantitative Aptitude Questions with SOLUTION | Aptitude Interview Questions and SOLUTION</title><content type="html">&lt;span class="Apple-style-span" style="border-collapse: collapse;font-family:'times new roman';" &gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;In a group of 15,7 have studied Latin, 8 have studied Greek, and 3 have not studied either. How many of these studied both Latin and Greek&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;A.0&lt;br /&gt;B.3&lt;br /&gt;C.4&lt;br /&gt;D.5&lt;br /&gt;&lt;br /&gt;Ans.B&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If 13 = 13w/(1-w) ,then (2w)2 =&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;A.1/4&lt;br /&gt;B.1/2&lt;br /&gt;C.1&lt;br /&gt;D.2&lt;br /&gt;&lt;br /&gt;Ans.C&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If a and b are positive integers and (a-b)/3.5 = 4/7, then &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(A) b &lt;&gt; a&lt;br /&gt;(C) b = a&lt;br /&gt;(D) b &gt;= a&lt;br /&gt;&lt;br /&gt;Ans. A&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;In june a baseball team that played 60 games had won 30% of its game played. After a phenomenal winning streak this team raised its average to 50% .How many games must the team have won in a row to attain this average?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;A. 12&lt;br /&gt;B. 20&lt;br /&gt;C. 24&lt;br /&gt;D. 30&lt;br /&gt;&lt;br /&gt;Ans. C&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;M men agree to purchase a gift for Rs. D. If three men drop out how much more will each have to contribute towards the purchase of the gift/&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;A. D/(M-3)&lt;br /&gt;B. MD/3&lt;br /&gt;C. M/(D-3)&lt;br /&gt;D. 3D/(M2-3M)&lt;br /&gt;&lt;br /&gt;Ans. D&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A company contracts to paint 3 houses. Mr.Brown can paint a house in 6 days while Mr.Black would take 8 days and Mr.Blue 12 days. After 8 days Mr.Brown goes on vacation and Mr. Black begins to work for a period of 6 days. How many days will it take Mr.Blue to complete the contract?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;A. 7&lt;br /&gt;B. 8&lt;br /&gt;C. 11&lt;br /&gt;D. 12&lt;br /&gt;&lt;br /&gt;Ans.C&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;2 hours after a freight train leaves Delhi a passenger train leaves the same station travelling in the same direction at an average speed of 16 km/hr. After travelling 4 hrs the passenger train overtakes the freight train. The average speed of the freight train was?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;A. 30&lt;br /&gt;B. 40&lt;br /&gt;C.58&lt;br /&gt;D. 60&lt;br /&gt;&lt;br /&gt;Ans. B&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If 9x-3y=12 and 3x-5y=7 then 6x-2y = ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;A.-5&lt;br /&gt;B. 4&lt;br /&gt;C. 2&lt;br /&gt;D. 8&lt;br /&gt;&lt;br /&gt;Ans. D&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;There are 5 red shoes, 4 green shoes. If one draw randomly a shoe what is the probability of getting a red shoe &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans 5c1/ 9c1&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;What is the selling price of a car? If the cost of the car is Rs.60 and a profit of 10% over selling price is earned&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: Rs 66/-&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;1/3 of girls , 1/2 of boys go to canteen .What factor and total number of classmates go to canteen. &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: Cannot be determined.&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The price of a product is reduced by 30% . By what percentage should it be increased to make it 100% &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: 42.857%&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;There is a square of side 6cm . A circle is inscribed inside the square. Find the ratio of the area of circle to square. &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 11/14&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;There are two candles of equal lengths and of different thickness. The thicker one lasts of six hours. The thinner 2 hours less than the thicker one. Ramesh lights the two candles at the same time. When he went to bed he saw the thicker one is twice the length of the thinner one. How long ago did Ramesh light the two candles .&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: 3 hours.&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px" style=""&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(153, 153, 153); letter-spacing: 1px; line-height: 14px; text-transform: uppercase;font-family:'Trebuchet MS';font-size:10;"  &gt;&lt;div class="post-body" style="margin: 0px 0px 0.75em; line-height: 1.6em;"&gt;&lt;p class="answers"   style="font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span"  style="font-size:24;"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;others Links of General Aptitude Question's&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;index&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;1.&lt;a href="http://wikipointer.blogspot.com/2008/10/math-trivias-questions-and-answers.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Math Trivias Questions And Answers&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;2.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions and SOLUTION | Aptitude Interview Questions and SOLUTION &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;3.&lt;a href="http://wikipointer.blogspot.com/2008/10/best-placement-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Best Placement Aptitude Questions Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;4.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-knowledge-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Knowledge Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;5.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-with-solutions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions WITH SOLUTIONS and Free Aptitude Tests with Interview Questions WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;6.I&lt;a href="http://wikipointer.blogspot.com/2008/10/infosys-placement-aptitude-interview.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;nfosys placement Aptitude Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;7.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-assessment-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;General Aptitude Assessment Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;8.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-placement-aptitude-test-with.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;General Placement Aptitude Test WITH SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;9.&lt;a href="http://wikipointer.blogspot.com/2008/10/self-referential-aptitude-test.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Self-Referential Aptitude Test Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;10.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions with Solution | Aptitude Interview Questions with Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;11.&lt;a href="http://wikipointer.blogspot.com/2008/10/placement-aptitude-paper-with-solutions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Placement APTITUDE PAPER WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;12.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-test-battery-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;GENERAL APTITUDE TEST BATTERY with SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;13.&lt;a href="http://wikipointer.blogspot.com/2008/10/sample-logical-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Sample Logical Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;14.&lt;a href="http://wikipointer.blogspot.com/2008/10/logical-aptitude-placement-questions.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Logical &amp;amp; Aptitude Placement Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;15.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions | Interview Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;16.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions | Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;17.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-aptitude.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Aptitude Questions Interview | Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style="clear: both;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="post-footer"   style="margin: 0.75em 0px; color: rgb(153, 153, 153); text-transform: uppercase; letter-spacing: 0.1em; font-style: normal; font-variant: normal; font-weight: normal; font-size-adjust: none; font-stretch: normal; line-height: 1.4em;font-family:'Trebuchet MS',Trebuchet,Arial,Verdana,sans-serif;font-size:78%;"&gt;&lt;p class="post-footer-line post-footer-line-2"&gt;&lt;span class="post-labels"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-6113382052961845075?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/LJKqB5xv4urJ1ZcB0thAoTbRxXE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LJKqB5xv4urJ1ZcB0thAoTbRxXE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/LJKqB5xv4urJ1ZcB0thAoTbRxXE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LJKqB5xv4urJ1ZcB0thAoTbRxXE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/L3Q_wSRBEow" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/6113382052961845075/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=6113382052961845075" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/6113382052961845075?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/6113382052961845075?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/L3Q_wSRBEow/quantitative-aptitude-questions-and.html" title="Quantitative Aptitude Questions with SOLUTION | Aptitude Interview Questions and SOLUTION" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4MQng8fyp7ImA9WxJVFEg.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-1297901906133927711</id><published>2009-07-11T18:19:00.001-07:00</published><updated>2009-07-01T05:56:23.677-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-01T05:56:23.677-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="General Aptitude links" /><title>Aptitude Knowledge Interview Questions with solutions</title><content type="html">&lt;span class="Apple-style-span" style="border-collapse: collapse;font-family:'times new roman';" &gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Which of the following fractions is less than 1/3&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 22/62&lt;br /&gt;(b) 15/46&lt;br /&gt;(c) 2/3&lt;br /&gt;(d) 1&lt;br /&gt;&lt;br /&gt;Ans: (b)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;There are two circles, one circle is inscribed and another circle is circumscribed over a square. What is the ratio of area of inner to outer circle?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: 1 : 2&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Three types of tea the a,b,c costs Rs. 95/kg,100/kg and70/kg respectively.&lt;br /&gt;How many kgs of each should be blended to produce 100 kg of mixture worth Rs.90/kg, given that the quntities of band c are equal&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;a)70,15,15&lt;br /&gt;b)50,25,25&lt;br /&gt;c)60,20,20&lt;br /&gt;d)40,30,30&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;in a class, except 18 all are above 50 years.&lt;br /&gt;15 are below 50 years of age. How many people are there&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 30&lt;br /&gt;(b) 33&lt;br /&gt;(c) 36&lt;br /&gt;(d) none of these.&lt;br /&gt;&lt;br /&gt;Ans. (d)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If a boat is moving in upstream with velocity of 14 km/hr and goes downstream with a velocity of 40 km/hr, then what is the speed of the stream ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 13 km/hr&lt;br /&gt;(b) 26 km/hr&lt;br /&gt;(c) 34 km/hr&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. A&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Find the value of ( 0.75 * 0.75 * 0.75 - 0.001 ) / ( 0.75 * 0.75 - 0.075 + 0.01)&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 0.845&lt;br /&gt;(b) 1.908&lt;br /&gt;(c) 2.312&lt;br /&gt;(d) 0.001&lt;br /&gt;&lt;br /&gt;Ans. A&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A can have a piece of work done in 8 days, B can work three times faster than the A, C can work five times faster than A. How many days will they take to do the work together ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 3 days&lt;br /&gt;(b) 8/9 days&lt;br /&gt;(c) 4 days&lt;br /&gt;(d) can't say&lt;br /&gt;&lt;br /&gt;Ans. B&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A car travels a certain distance taking 7 hrs in forward journey, during the return journey increased speed 12km/hr takes the times 5 hrs. What is the distance travelled&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 210 kms&lt;br /&gt;(b) 30 kms&lt;br /&gt;(c) 20 kms&lt;br /&gt;(c) none of these&lt;br /&gt;&lt;br /&gt;Ans. B&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Find (7x + 4y ) / (x-2y) if x/2y = 3/2 ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 6&lt;br /&gt;(b) 8&lt;br /&gt;(c) 7&lt;br /&gt;(d) data insufficient&lt;br /&gt;&lt;br /&gt;Ans. C&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If on an item a company gives 25% discount, they earn 25% profit. If they now give 10% discount then what is the profit percentage.&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) 40%&lt;br /&gt;(b) 55%&lt;br /&gt;(c) 35%&lt;br /&gt;(d) 30%&lt;br /&gt;&lt;br /&gt;Ans. D&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A certain number of men can finish a piece of work in 10 days. If however there were 10 men less it will take 10 days more for the work to be finished. How many men were there originally?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 110 men&lt;br /&gt;(b) 130 men&lt;br /&gt;(c) 100 men&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. A&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;In simple interest what sum amounts of Rs.1120/- in 4 years and Rs.1200/- in 5 years ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) Rs. 500&lt;br /&gt;(b) Rs. 600&lt;br /&gt;(c) Rs. 800&lt;br /&gt;(d) Rs. 900&lt;br /&gt;&lt;br /&gt;Ans. C&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If a sum of money compound annually amounts of thrice itself in 3 years. In how many years will it become 9 times itself.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 6&lt;br /&gt;(b) 8&lt;br /&gt;(c) 10&lt;br /&gt;(d) 12&lt;br /&gt;&lt;br /&gt;Ans A&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Two trains move in the same direction at 50 kmph and 32 kmph respectively. A man in the slower train  observes the 15 seconds elapse before the faster train completely passes by him. What is the length of faster train ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 100m&lt;br /&gt;(b) 75m&lt;br /&gt;(c) 120m&lt;br /&gt;(d) 50m&lt;br /&gt;&lt;br /&gt;Ans B&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(153, 153, 153); letter-spacing: 1px; line-height: 14px; text-transform: uppercase;font-family:'Trebuchet MS';font-size:10;"  &gt;&lt;div class="post-body" style="margin: 0px 0px 0.75em; line-height: 1.6em;"&gt;&lt;p class="answers"   style="font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span"  style="font-size:24;"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;others Links of General Aptitude Question's&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;index&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;1.&lt;a href="http://wikipointer.blogspot.com/2008/10/math-trivias-questions-and-answers.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Math Trivias Questions And Answers&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;2.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions and SOLUTION | Aptitude Interview Questions and SOLUTION &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;3.&lt;a href="http://wikipointer.blogspot.com/2008/10/best-placement-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Best Placement Aptitude Questions Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;4.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-knowledge-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Knowledge Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;5.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-with-solutions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions WITH SOLUTIONS and Free Aptitude Tests with Interview Questions WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;6.I&lt;a href="http://wikipointer.blogspot.com/2008/10/infosys-placement-aptitude-interview.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;nfosys placement Aptitude Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;7.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-assessment-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;General Aptitude Assessment Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;8.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-placement-aptitude-test-with.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;General Placement Aptitude Test WITH SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;9.&lt;a href="http://wikipointer.blogspot.com/2008/10/self-referential-aptitude-test.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Self-Referential Aptitude Test Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;10.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions with Solution | Aptitude Interview Questions with Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;11.&lt;a href="http://wikipointer.blogspot.com/2008/10/placement-aptitude-paper-with-solutions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Placement APTITUDE PAPER WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;12.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-test-battery-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;GENERAL APTITUDE TEST BATTERY with SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;13.&lt;a href="http://wikipointer.blogspot.com/2008/10/sample-logical-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Sample Logical Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;14.&lt;a href="http://wikipointer.blogspot.com/2008/10/logical-aptitude-placement-questions.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Logical &amp;amp; Aptitude Placement Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;15.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions | Interview Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;16.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions | Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;17.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-aptitude.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Aptitude Questions Interview | Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style="clear: both;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="post-footer"   style="margin: 0.75em 0px; color: rgb(153, 153, 153); text-transform: uppercase; letter-spacing: 0.1em; font-style: normal; font-variant: normal; font-weight: normal; font-size-adjust: none; font-stretch: normal; line-height: 1.4em;font-family:'Trebuchet MS',Trebuchet,Arial,Verdana,sans-serif;font-size:78%;"&gt;&lt;p class="post-footer-line post-footer-line-2"&gt;&lt;span class="post-labels"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-1297901906133927711?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/_Z9q48FvR9LKQyHENoIOiA6mD9A/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_Z9q48FvR9LKQyHENoIOiA6mD9A/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/_Z9q48FvR9LKQyHENoIOiA6mD9A/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/_Z9q48FvR9LKQyHENoIOiA6mD9A/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/2Q0AAwwcJEY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/1297901906133927711/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=1297901906133927711" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/1297901906133927711?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/1297901906133927711?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/2Q0AAwwcJEY/aptitude-knowledge-interview-questions.html" title="Aptitude Knowledge Interview Questions with solutions" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/aptitude-knowledge-interview-questions.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE4AQX8-fCp7ImA9WxJVFEg.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-9198653298836153798</id><published>2009-07-11T18:19:00.000-07:00</published><updated>2009-07-01T05:55:40.154-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-01T05:55:40.154-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="General Aptitude links" /><title>Best  Placement Aptitude Questions with Answers</title><content type="html">&lt;span class="Apple-style-span" style="border-collapse: collapse;font-family:'times new roman';" &gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If PQRST is a parallelogram what it the ratio of triangle PQS &amp;amp; parallelogram PQRST .&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: 1:2&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The cost of an item is Rs 12.60. If the profit is 10% over selling price what is the selling price ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: Rs 13.86/-&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;There are 6 red shoes &amp;amp; 4 green shoes . If two of red shoes are drawn what is the probability of getting red shoes &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: 6c2/10c2&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;To 15 lts of water containing 20% alcohol, we add 5 lts of pure water. What is % alcohol. &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans : 15%&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A worker is paid Rs.20/- for a full days work. He works 1,1/3,2/3,1/8.3/4 days in a week. What is the total amount paid for that worker ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans : 57.50&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If the value of x lies between 0 &amp;amp; 1 which of the following is the largest? &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) x&lt;br /&gt;(b) x2&lt;br /&gt;(c) -x&lt;br /&gt;(d) 1/x&lt;br /&gt;&lt;br /&gt;Ans : (d)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If the total distance of a journey is 120 km .If one goes by 60 kmph and comes back at 40kmph what is the average speed during the journey? &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: 48kmph&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A school has 30% students from Maharashtra .Out of these 20% are Bombay students. Find the total percentage of Bombay?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: 6%&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;An equilateral triangle of sides 3 inch each is given. How many equilateral triangles of side 1 inch can be formed from it?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: 9&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If A/B = 3/5,then 15A = ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans : 9B&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Each side of a rectangle is increased by 100% .By what percentage does the area increase?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans : 300%&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Perimeter of the back wheel = 9 feet, front wheel = 7 feet on a certain distance, the front wheel gets 10 revolutions more than the back wheel .What is the distance?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans : 315 feet.&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Perimeter of front wheel =30, back wheel = 20. If front wheel revolves 240 times. How many revolutions will the back wheel take?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: 360 times&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;20% of a 6 litre solution and 60% of 4 litre solution are mixed. What percentage of the mixture of solution&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: 36%&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;City A's population is 68000, decreasing at a rate of 80 people per year. City B having population 42000 is increasing at a rate of 120 people per year. In how many years both the cities will have same population?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: 130 years&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Two cars are 15 kms apart. One is turning at a speed of 50kmph and the other at 40kmph . How much time will it take for the two cars to meet?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: 3/2 hours&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A person wants to buy 3 paise and 5 paise stamps costing exactly one rupee. If he buys which of the following number of stamps he won't able to buy 3 paise stamps.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans: 9&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(153, 153, 153); letter-spacing: 1px; line-height: 14px; text-transform: uppercase;font-family:'Trebuchet MS';font-size:10;"  &gt;&lt;div class="post-body" style="margin: 0px 0px 0.75em; line-height: 1.6em;"&gt;&lt;p class="answers"   style="font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span"  style="font-size:24;"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;others Links of General Aptitude Question's&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;index&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;1.&lt;a href="http://wikipointer.blogspot.com/2008/10/math-trivias-questions-and-answers.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Math Trivias Questions And Answers&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;2.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions and SOLUTION | Aptitude Interview Questions and SOLUTION &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;3.&lt;a href="http://wikipointer.blogspot.com/2008/10/best-placement-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Best Placement Aptitude Questions Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;4.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-knowledge-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Knowledge Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;5.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-with-solutions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions WITH SOLUTIONS and Free Aptitude Tests with Interview Questions WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;6.I&lt;a href="http://wikipointer.blogspot.com/2008/10/infosys-placement-aptitude-interview.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;nfosys placement Aptitude Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;7.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-assessment-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;General Aptitude Assessment Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;8.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-placement-aptitude-test-with.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;General Placement Aptitude Test WITH SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;9.&lt;a href="http://wikipointer.blogspot.com/2008/10/self-referential-aptitude-test.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Self-Referential Aptitude Test Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;10.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions with Solution | Aptitude Interview Questions with Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;11.&lt;a href="http://wikipointer.blogspot.com/2008/10/placement-aptitude-paper-with-solutions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Placement APTITUDE PAPER WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;12.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-test-battery-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;GENERAL APTITUDE TEST BATTERY with SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;13.&lt;a href="http://wikipointer.blogspot.com/2008/10/sample-logical-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Sample Logical Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;14.&lt;a href="http://wikipointer.blogspot.com/2008/10/logical-aptitude-placement-questions.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Logical &amp;amp; Aptitude Placement Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;15.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions | Interview Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;16.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions | Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;17.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-aptitude.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Aptitude Questions Interview | Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style="clear: both;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="post-footer"   style="margin: 0.75em 0px; color: rgb(153, 153, 153); text-transform: uppercase; letter-spacing: 0.1em; font-style: normal; font-variant: normal; font-weight: normal; font-size-adjust: none; font-stretch: normal; line-height: 1.4em;font-family:'Trebuchet MS',Trebuchet,Arial,Verdana,sans-serif;font-size:78%;"&gt;&lt;p class="post-footer-line post-footer-line-2"&gt;&lt;span class="post-labels"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-9198653298836153798?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ZtXPzQuHCwcMw_5yfdfou7A32-U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZtXPzQuHCwcMw_5yfdfou7A32-U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ZtXPzQuHCwcMw_5yfdfou7A32-U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ZtXPzQuHCwcMw_5yfdfou7A32-U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/ASAPqQBqceE" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/9198653298836153798/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=9198653298836153798" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/9198653298836153798?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/9198653298836153798?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/ASAPqQBqceE/best-placement-aptitude-questions.html" title="Best  Placement Aptitude Questions with Answers" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/best-placement-aptitude-questions.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcHQH0ycSp7ImA9WxJVFEg.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-7657193272032492172</id><published>2009-07-11T18:18:00.000-07:00</published><updated>2009-07-01T05:57:11.399-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-01T05:57:11.399-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="General Aptitude links" /><title>Aptitude Questions WITH SOLUTIONS | Free Aptitude Tests with Interview Questions WITH SOLUTIONS</title><content type="html">&lt;span class="Apple-style-span" style="border-collapse: collapse;font-family:'times new roman';" &gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;How many mashes are there in 1 square meter of wire gauge if each mesh&lt;br /&gt;is 8mm long and 5mm wide ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 2500&lt;br /&gt;(b) 25000&lt;br /&gt;(c) 250&lt;br /&gt;(d) 250000&lt;br /&gt;&lt;br /&gt;Ans B&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;x% of y is y% of ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) x/y&lt;br /&gt;(b) 2y&lt;br /&gt;(c) x&lt;br /&gt;(d) can't be determined&lt;br /&gt;&lt;br /&gt;Ans. C&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The price of sugar increases by 20%, by what % should a housewife reduce the consumption of sugar so that expenditure on sugar can be same as before ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) 15%&lt;br /&gt;(b) 16.66%&lt;br /&gt;(c) 12%&lt;br /&gt;(d) 9%&lt;br /&gt;&lt;br /&gt;Ans B&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A man spends half of his salary on household expenses, 1/4th for rent, 1/5th for travel expenses, the man deposits the rest in a bank. If his monthly deposits in the bank amount 50, what is his monthly salary ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) Rs.500&lt;br /&gt;(b) Rs.1500&lt;br /&gt;(c) Rs.1000&lt;br /&gt;(d) Rs. 900&lt;br /&gt;&lt;br /&gt;Ans C&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;15 men take 21 days of 8 hrs. each to do a piece of work. How many days of 6 hrs. each would it take for 21 women if 3 women do as much work as 2 men?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) 30&lt;br /&gt;(b) 20&lt;br /&gt;(c) 19&lt;br /&gt;(d) 29&lt;br /&gt;&lt;br /&gt;Ans. A&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A cylinder is 6 cms in diameter and 6 cms in height. If spheres of the same size are made from the material obtained, what is the diameter of each sphere?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) 5 cms&lt;br /&gt;(b) 2 cms&lt;br /&gt;(c) 3 cms&lt;br /&gt;(d) 4 cms&lt;br /&gt;&lt;br /&gt;Ans C&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The difference b/w the compound interest payble half yearly and the simple interest on a certain sum lent out at 10% p.a for 1 year is Rs 25. What is the sum?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) Rs. 15000&lt;br /&gt;(b) Rs. 12000&lt;br /&gt;(c) Rs. 10000&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans C&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;What is the smallest number by which 2880 must be divided in order to make it into a perfect square ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 3&lt;br /&gt;(b) 4&lt;br /&gt;(c) 5&lt;br /&gt;(d) 6&lt;br /&gt;&lt;br /&gt;Ans. C&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A father is 30 years older than his son however he will be only thrice as old as the son after 5 years what is father's present age ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 40 yrs&lt;br /&gt;(b) 30 yrs&lt;br /&gt;(c) 50 yrs&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. A&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If an item costs Rs.3 in '99 and Rs.203 in '00.What is the % increase in price?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;(a) 200/3 %&lt;br /&gt;(b) 200/6 %&lt;br /&gt;(c) 100%&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. A&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;5 men or 8 women do equal amount of work in a day. a job requires 3 men and 5 women to finish the job in 10 days how many woman are required to finish the job in 14 days.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;a) 10&lt;br /&gt;b) 7&lt;br /&gt;c) 6&lt;br /&gt;d) 12&lt;br /&gt;&lt;br /&gt;Ans 7&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A simple interest amount of rs 5000 for six month is rs 200. what is the anual rate of interest?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;a) 10%&lt;br /&gt;b) 6%&lt;br /&gt;c) 8%&lt;br /&gt;d) 9%&lt;br /&gt;&lt;br /&gt;Ans 8%&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;In objective test a correct answer score 4 marks and on a wrong answer 2 marks are ---. a student score 480 marks from 150 question. how many answer were correct?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;a) 120&lt;br /&gt;b) 130&lt;br /&gt;c) 110&lt;br /&gt;d) 150&lt;br /&gt;&lt;br /&gt;Ans130.&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;An article sold at amount of 50% the net sale price is rs 425 .what is the list price of the article?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;a) 500&lt;br /&gt;b) 488&lt;br /&gt;c) 480&lt;br /&gt;d) 510 &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(153, 153, 153); letter-spacing: 1px; line-height: 14px; text-transform: uppercase;font-family:'Trebuchet MS';font-size:10;"  &gt;&lt;div class="post-body" style="margin: 0px 0px 0.75em; line-height: 1.6em;"&gt;&lt;p class="answers"   style="font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span"  style="font-size:24;"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;others Links of General Aptitude Question's&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;index&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;1.&lt;a href="http://wikipointer.blogspot.com/2008/10/math-trivias-questions-and-answers.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Math Trivias Questions And Answers&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;2.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions and SOLUTION | Aptitude Interview Questions and SOLUTION &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;3.&lt;a href="http://wikipointer.blogspot.com/2008/10/best-placement-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Best Placement Aptitude Questions Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;4.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-knowledge-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Knowledge Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;5.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-with-solutions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions WITH SOLUTIONS and Free Aptitude Tests with Interview Questions WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;6.I&lt;a href="http://wikipointer.blogspot.com/2008/10/infosys-placement-aptitude-interview.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;nfosys placement Aptitude Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;7.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-assessment-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;General Aptitude Assessment Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;8.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-placement-aptitude-test-with.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;General Placement Aptitude Test WITH SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;9.&lt;a href="http://wikipointer.blogspot.com/2008/10/self-referential-aptitude-test.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Self-Referential Aptitude Test Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;10.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions with Solution | Aptitude Interview Questions with Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;11.&lt;a href="http://wikipointer.blogspot.com/2008/10/placement-aptitude-paper-with-solutions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Placement APTITUDE PAPER WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;12.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-test-battery-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;GENERAL APTITUDE TEST BATTERY with SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;13.&lt;a href="http://wikipointer.blogspot.com/2008/10/sample-logical-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Sample Logical Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;14.&lt;a href="http://wikipointer.blogspot.com/2008/10/logical-aptitude-placement-questions.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Logical &amp;amp; Aptitude Placement Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;15.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions | Interview Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;16.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions | Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;17.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-aptitude.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Aptitude Questions Interview | Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style="clear: both;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="post-footer"   style="margin: 0.75em 0px; color: rgb(153, 153, 153); text-transform: uppercase; letter-spacing: 0.1em; font-style: normal; font-variant: normal; font-weight: normal; font-size-adjust: none; font-stretch: normal; line-height: 1.4em;font-family:'Trebuchet MS',Trebuchet,Arial,Verdana,sans-serif;font-size:78%;"&gt;&lt;p class="post-footer-line post-footer-line-2"&gt;&lt;span class="post-labels"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-7657193272032492172?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/UIFwHa0P3WubWoPu-9jqP0vqdtA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UIFwHa0P3WubWoPu-9jqP0vqdtA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/UIFwHa0P3WubWoPu-9jqP0vqdtA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/UIFwHa0P3WubWoPu-9jqP0vqdtA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/KW7ksmmWEMY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/7657193272032492172/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=7657193272032492172" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/7657193272032492172?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/7657193272032492172?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/KW7ksmmWEMY/aptitude-questions-with-solutions-and.html" title="Aptitude Questions WITH SOLUTIONS | Free Aptitude Tests with Interview Questions WITH SOLUTIONS" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/aptitude-questions-with-solutions-and.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYERH4ycCp7ImA9WxJVFEg.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-1289917012287729078</id><published>2009-07-11T18:17:00.000-07:00</published><updated>2009-07-01T05:58:25.098-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-01T05:58:25.098-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="General Aptitude links" /><title>Infosys placement Aptitude Interview Questions with Answers</title><content type="html">&lt;span class="Apple-style-span" style="border-collapse: collapse; font-family: arial;font-family:'times new roman';font-size:100%;"  &gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;A man leaves office daily at 7pm A driver with car comes from his home to pick him from office and bring back home One day he gets free at 5:30 and instead of waiting for driver he starts walking towards home. In the way he meets the car and returns home on car He reaches home 20 minutes earlier than usual. In how much time does the man reach home usually??&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 1hr 20min&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;A works thrice as much as B. If A takes 60 days less than B to do a work then find the number of days it would take to complete the work if both work together?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 22½days&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;How many 1's are there in the binary form of 8*1024 + 3*64 + 3&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 4&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;A boy has Rs 2. He wins or loses Re 1 at a time If he wins he gets Re 1 and if he loses the game he loses Re 1.&lt;br /&gt;He can loose only 5 times. He is out of the game if he earns Rs 5.&lt;br /&gt;Find the number of ways in which this is possible?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 16&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;If there are 1024*1280 pixels on a screen and each pixel can have around 16 million colors&lt;br /&gt;Find the memory required for this?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 4MB&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;On a particular day A and B decide that they would either speak the truth or will lie.&lt;br /&gt;C asks A whether he is speaking truth or lying?&lt;br /&gt;He answers and B listens to what he said. C then asks B what A has said B says "A says that he is a liar"&lt;br /&gt;What is B speaking ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;(a) Truth&lt;br /&gt;(b) Lie&lt;br /&gt;(c) Truth when A lies&lt;br /&gt;(d) Cannot be determined&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;What is the angle between the two hands of a clock when time is 8:30&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 75(approx)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;A man walks east and turns right and then from there to his left and then 45degrees to his right. In which direction did he go&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;Ans. North west&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;A man shows his friend a woman sitting in a park and says that she the daughter of my grandmother's only son. What is the relation between the two&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;Ans. Daughter&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;If a=2/3b , b=2/3c, and c=2/3d what part of d is b/&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;(a) 8/27&lt;br /&gt;(b) 4/9&lt;br /&gt;(c) 2/3&lt;br /&gt;(d) 75%&lt;br /&gt;(e) 4/3&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;Successive discounts of 20% and 15% are equal to a single discount of &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;(a) 30%&lt;br /&gt;(b) 32%&lt;br /&gt;(c) 34%&lt;br /&gt;(d) 35%&lt;br /&gt;(e) 36&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;The petrol tank of an automobile can hold g liters. If a liters was removed when the tank was full, what part of the full tank was removed?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;(a)g-a&lt;br /&gt;(b)g/a&lt;br /&gt;(c) a/g&lt;br /&gt;(d) (g-a)/a&lt;br /&gt;(e) (g-a)/g&lt;br /&gt;&lt;br /&gt;Ans. (c)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;"&gt;&lt;span class="Apple-style-span"&gt;If x/y=4 and y is not '0' what % of x is 2x-y&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"&gt;&lt;br /&gt;&lt;br /&gt;(a)150%&lt;br /&gt;(b)175%&lt;br /&gt;(c)200%&lt;br /&gt;(d)250%&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;br /&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px" style=""&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(153, 153, 153); letter-spacing: 1px; line-height: 14px; text-transform: uppercase;"&gt;&lt;div class="post-body" style="margin: 0px 0px 0.75em; line-height: 1.6em;"&gt;&lt;p class="answers"   style="font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;others Links of General Aptitude Question's&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;index&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;1.&lt;a href="http://wikipointer.blogspot.com/2008/10/math-trivias-questions-and-answers.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Math Trivias Questions And Answers&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;2.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions and SOLUTION | Aptitude Interview Questions and SOLUTION &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;3.&lt;a href="http://wikipointer.blogspot.com/2008/10/best-placement-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Best Placement Aptitude Questions Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;4.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-knowledge-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Knowledge Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;5.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-with-solutions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions WITH SOLUTIONS and Free Aptitude Tests with Interview Questions WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;6.I&lt;a href="http://wikipointer.blogspot.com/2008/10/infosys-placement-aptitude-interview.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;nfosys placement Aptitude Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;7.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-assessment-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;General Aptitude Assessment Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;8.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-placement-aptitude-test-with.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;General Placement Aptitude Test WITH SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;9.&lt;a href="http://wikipointer.blogspot.com/2008/10/self-referential-aptitude-test.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Self-Referential Aptitude Test Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;10.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions with Solution | Aptitude Interview Questions with Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;11.&lt;a href="http://wikipointer.blogspot.com/2008/10/placement-aptitude-paper-with-solutions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Placement APTITUDE PAPER WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;12.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-test-battery-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;GENERAL APTITUDE TEST BATTERY with SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;13.&lt;a href="http://wikipointer.blogspot.com/2008/10/sample-logical-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Sample Logical Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;14.&lt;a href="http://wikipointer.blogspot.com/2008/10/logical-aptitude-placement-questions.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Logical &amp;amp; Aptitude Placement Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;15.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions | Interview Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;16.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions | Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;17.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-aptitude.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Aptitude Questions Interview | Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style="clear: both;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="post-footer"   style="margin: 0.75em 0px; color: rgb(153, 153, 153); text-transform: uppercase; letter-spacing: 0.1em; font-style: normal; font-variant: normal; font-weight: normal; font-size-adjust: none; font-stretch: normal; line-height: 1.4em;font-family:'Trebuchet MS',Trebuchet,Arial,Verdana,sans-serif;font-size:78%;"&gt;&lt;p class="post-footer-line post-footer-line-2"&gt;&lt;span class="post-labels"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-1289917012287729078?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/U8Osa_gn5t3ju3j1qjd2svftfn8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/U8Osa_gn5t3ju3j1qjd2svftfn8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/U8Osa_gn5t3ju3j1qjd2svftfn8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/U8Osa_gn5t3ju3j1qjd2svftfn8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/TWKtvqTYGyU" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/1289917012287729078/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=1289917012287729078" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/1289917012287729078?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/1289917012287729078?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/TWKtvqTYGyU/infosys-placement-aptitude-interview.html" title="Infosys placement Aptitude Interview Questions with Answers" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/infosys-placement-aptitude-interview.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUFRHk4cSp7ImA9WxJVFEg.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-8290601299760140590</id><published>2009-07-11T18:16:00.001-07:00</published><updated>2009-07-01T06:00:15.739-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-01T06:00:15.739-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="General Aptitude links" /><title>General  Placement Aptitude Test Question  WITH SOLUTIONS</title><content type="html">&lt;span class="Apple-style-span" style="border-collapse: collapse;font-family:'times new roman';" &gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;ABCE is an isosceles trapezoid and ACDE is a rectangle. AB = 10 and EC = 20. What is the length of AE?&lt;/span&gt;&lt;/span&gt;&lt;span class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Ans. AE = 10.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt; In the given figure, PA and PB are tangents to the circle at A and B respectively and the chord BC is parallel to tangent PA. If AC = 6 cm, and length of the tangent AP is 9 cm, then what is the length of the chord BC?&lt;/span&gt;&lt;/span&gt;&lt;span class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Ans. BC = 4 cm.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Three cards are drawn at random from an ordinary pack of cards. Find the probability that they will consist of a king, a queen and an ace.&lt;/span&gt;&lt;/span&gt;&lt;span class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Ans. 64/2210.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A number of cats got together and decided to kill between them 999919 mice. Every cat killed an equal number of mice. Each cat killed more mice than there were cats. How many cats do you think there were ?&lt;/span&gt;&lt;/span&gt;&lt;span class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Ans. 991.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If Log2 x - 5 Log x + 6 = 0, then what would the value / values of x be?&lt;/span&gt;&lt;/span&gt;&lt;span class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Ans. x = e2 or e3.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The square of a two digit number is divided by half the number. After 36 is added to the quotient, this sum is then divided by 2. The digits of the resulting number are the same as those in the original number, but they are in reverse order. The ten's place of the original number is equal to twice the difference between its digits. What is the number?&lt;/span&gt;&lt;/span&gt;&lt;span class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Ans. 46&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Can you tender a one rupee note in such a manner that there shall be total 50 coins but none of them would be 2 paise coins.?&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Ans. 45 one paisa coins, 2 five paise coins, 2 ten paise coins, and 1 twenty-five paise coins.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A monkey starts climbing up a tree 20ft. tall. Each hour, it hops 3ft. and slips back 2ft. How much time would it take the monkey to reach the top?&lt;/span&gt;&lt;/span&gt;&lt;span class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Ans.18 hours.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;What is the missing number in this series?&lt;/span&gt;&lt;/span&gt;&lt;span class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;8 2 14 6 11 ? 14 6 18 12&lt;br /&gt;Ans. 9&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A certain type of mixture is prepared by mixing brand A at Rs.9 a kg. with brand B at Rs.4 a kg. If the mixture is worth Rs.7 a kg., how many kgs. of brand A are needed to make 40kgs. of the mixture?&lt;/span&gt;&lt;/span&gt;&lt;span class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Ans. Brand A needed is 24kgs.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-style-span"  style="font-family:'Bookman Old Style';"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(153, 153, 153); letter-spacing: 1px; line-height: 14px; text-transform: uppercase;font-family:'Trebuchet MS';font-size:10;"  &gt;&lt;div class="post-body" style="margin: 0px 0px 0.75em; line-height: 1.6em;"&gt;&lt;p class="answers"   style="font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span"  style="font-size:24;"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;others Links of General Aptitude Question's&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;index&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;1.&lt;a href="http://wikipointer.blogspot.com/2008/10/math-trivias-questions-and-answers.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Math Trivias Questions And Answers&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;2.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions and SOLUTION | Aptitude Interview Questions and SOLUTION &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;3.&lt;a href="http://wikipointer.blogspot.com/2008/10/best-placement-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Best Placement Aptitude Questions Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;4.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-knowledge-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Knowledge Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;5.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-with-solutions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions WITH SOLUTIONS and Free Aptitude Tests with Interview Questions WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;6.I&lt;a href="http://wikipointer.blogspot.com/2008/10/infosys-placement-aptitude-interview.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;nfosys placement Aptitude Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;7.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-assessment-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;General Aptitude Assessment Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;8.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-placement-aptitude-test-with.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;General Placement Aptitude Test WITH SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;9.&lt;a href="http://wikipointer.blogspot.com/2008/10/self-referential-aptitude-test.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Self-Referential Aptitude Test Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;10.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions with Solution | Aptitude Interview Questions with Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;11.&lt;a href="http://wikipointer.blogspot.com/2008/10/placement-aptitude-paper-with-solutions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Placement APTITUDE PAPER WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;12.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-test-battery-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;GENERAL APTITUDE TEST BATTERY with SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;13.&lt;a href="http://wikipointer.blogspot.com/2008/10/sample-logical-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Sample Logical Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;14.&lt;a href="http://wikipointer.blogspot.com/2008/10/logical-aptitude-placement-questions.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Logical &amp;amp; Aptitude Placement Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;15.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions | Interview Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;16.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions | Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;17.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-aptitude.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Aptitude Questions Interview | Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style="clear: both;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="post-footer"   style="margin: 0.75em 0px; color: rgb(153, 153, 153); text-transform: uppercase; letter-spacing: 0.1em; font-style: normal; font-variant: normal; font-weight: normal; font-size-adjust: none; font-stretch: normal; line-height: 1.4em;font-family:'Trebuchet MS',Trebuchet,Arial,Verdana,sans-serif;font-size:78%;"&gt;&lt;p class="post-footer-line post-footer-line-2"&gt;&lt;span class="post-labels"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-8290601299760140590?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AeA6DlJDv9zaat6e3ay2hQRTqug/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AeA6DlJDv9zaat6e3ay2hQRTqug/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AeA6DlJDv9zaat6e3ay2hQRTqug/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AeA6DlJDv9zaat6e3ay2hQRTqug/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/zJUPVxASSCM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/8290601299760140590/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=8290601299760140590" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/8290601299760140590?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/8290601299760140590?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/zJUPVxASSCM/general-placement-aptitude-test-with.html" title="General  Placement Aptitude Test Question  WITH SOLUTIONS" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/general-placement-aptitude-test-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUYBQn8yeSp7ImA9WxJVFEg.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-7620783313296585515</id><published>2009-07-11T18:16:00.000-07:00</published><updated>2009-07-01T05:59:13.191-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-01T05:59:13.191-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="General Aptitude links" /><title>General Aptitude Questions with solutions</title><content type="html">&lt;span class="Apple-style-span" style="border-collapse: collapse;font-family:'times new roman';" &gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If 2x-y=4 then 6x-3y=?&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a)15&lt;br /&gt;(b)12&lt;br /&gt;(c)18&lt;br /&gt;(d)10&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If x=y=2z and xyz=256 then what is the value of x?&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a)12&lt;br /&gt;(b)8&lt;br /&gt;(c)16&lt;br /&gt;(d)6&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(1/10)18 - (1/10)20 = ?&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) 99/1020&lt;br /&gt;(b) 99/10&lt;br /&gt;(c) 0.9&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Pipe A can fill in 20 minutes and Pipe B in 30 mins and Pipe C can empty the same in 40 mins.If all of them work together, find the time taken to fill the tank&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) 17 1/7 mins&lt;br /&gt;(b) 20 mins&lt;br /&gt;(c) 8 mins&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Thirty men take 20 days to complete a job working 9 hours a day. How many hour a day should 40 men work to complete the job?&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(a) 8 hrs&lt;br /&gt;(b) 7 1/2 hrs&lt;br /&gt;(c) 7 hrs&lt;br /&gt;(d) 9 hrs&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Find the smallest number in a GP whose sum is 38 and product 1728&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) 12&lt;br /&gt;(b) 20&lt;br /&gt;(c) 8&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. (c)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A boat travels 20 kms upstream in 6 hrs and 18 kms downstream in 4 hrs. Find the speed of the boat in still water and the speed of the water current?&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) 1/2 kmph&lt;br /&gt;(b) 7/12 kmph&lt;br /&gt;(c) 5 kmph&lt;br /&gt;(d) none of these&lt;br /&gt;&lt;br /&gt;Ans. (b)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A goat is tied to one corner of a square plot of side 12m by a rope 7m long. Find the area it can graze?&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(a) 38.5 sq.m&lt;br /&gt;(b) 155 sq.m&lt;br /&gt;(c) 144 sq.m&lt;br /&gt;(d) 19.25 sq.m&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Mr. Shah decided to walk down the escalator of a tube station. He found that if he walks down 26 steps, he requires 30 seconds to reach the bottom. However, if he steps down 34 stairs he would only require 18 seconds to get to the bottom. If the time is measured from the moment the top step begins to descend to the time he steps off the last step at the bottom, find out the height of the stair way in steps?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Ans.46 steps.&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The average age of 10 members of a committee is the same as it was 4 years ago, because an old member has been replaced by a young member. Find how much younger is the new member ?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Ans.40 years.&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(153, 153, 153); letter-spacing: 1px; line-height: 14px; text-transform: uppercase;font-family:'Trebuchet MS';font-size:10;"  &gt;&lt;div class="post-body" style="margin: 0px 0px 0.75em; line-height: 1.6em;"&gt;&lt;p class="answers"   style="font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span"  style="font-size:24;"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;others Links of General Aptitude Question's&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;index&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;1.&lt;a href="http://wikipointer.blogspot.com/2008/10/math-trivias-questions-and-answers.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Math Trivias Questions And Answers&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;2.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions and SOLUTION | Aptitude Interview Questions and SOLUTION &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;3.&lt;a href="http://wikipointer.blogspot.com/2008/10/best-placement-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Best Placement Aptitude Questions Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;4.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-knowledge-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Knowledge Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;5.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-with-solutions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions WITH SOLUTIONS and Free Aptitude Tests with Interview Questions WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;6.I&lt;a href="http://wikipointer.blogspot.com/2008/10/infosys-placement-aptitude-interview.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;nfosys placement Aptitude Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;7.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-assessment-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;General Aptitude Assessment Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;8.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-placement-aptitude-test-with.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;General Placement Aptitude Test WITH SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;9.&lt;a href="http://wikipointer.blogspot.com/2008/10/self-referential-aptitude-test.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Self-Referential Aptitude Test Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;10.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions with Solution | Aptitude Interview Questions with Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;11.&lt;a href="http://wikipointer.blogspot.com/2008/10/placement-aptitude-paper-with-solutions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Placement APTITUDE PAPER WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;12.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-test-battery-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;GENERAL APTITUDE TEST BATTERY with SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;13.&lt;a href="http://wikipointer.blogspot.com/2008/10/sample-logical-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Sample Logical Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;14.&lt;a href="http://wikipointer.blogspot.com/2008/10/logical-aptitude-placement-questions.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Logical &amp;amp; Aptitude Placement Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;15.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions | Interview Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;16.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions | Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;17.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-aptitude.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Aptitude Questions Interview | Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style="clear: both;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="post-footer"   style="margin: 0.75em 0px; color: rgb(153, 153, 153); text-transform: uppercase; letter-spacing: 0.1em; font-style: normal; font-variant: normal; font-weight: normal; font-size-adjust: none; font-stretch: normal; line-height: 1.4em;font-family:'Trebuchet MS',Trebuchet,Arial,Verdana,sans-serif;font-size:78%;"&gt;&lt;p class="post-footer-line post-footer-line-2"&gt;&lt;span class="post-labels"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-7620783313296585515?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/b1UsBJhpOr-oae44XF3gwwqEnws/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/b1UsBJhpOr-oae44XF3gwwqEnws/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/b1UsBJhpOr-oae44XF3gwwqEnws/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/b1UsBJhpOr-oae44XF3gwwqEnws/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/jWFO7S1n3-8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/7620783313296585515/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=7620783313296585515" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/7620783313296585515?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/7620783313296585515?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/jWFO7S1n3-8/general-aptitude-assessment-questions.html" title="General Aptitude Questions with solutions" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/general-aptitude-assessment-questions.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUMRXc6fip7ImA9WxJVFEg.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-8999845951714919863</id><published>2009-07-11T18:15:00.001-07:00</published><updated>2009-07-01T06:01:24.916-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-01T06:01:24.916-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="General Aptitude links" /><title>Quantitative Aptitude Questions with Solution | Aptitude Interview Questions with Solution</title><content type="html">&lt;span class="Apple-style-span" style="border-collapse: collapse;font-family:'times new roman';" &gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;span class="for_questions_blue" style="font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;For a motorist there are three ways going from City A to City C. By way of bridge the distance is 20 miles and toll is $0.75. A tunnel between the two cities is a distance of 10 miles and toll is $1.00 for the vehicle and driver and $0.10 for each passenger. A two-lane highway without toll goes east for 30 miles to city B and then 20 miles in a northwest direction to City C.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;1. Which is the shortest route from B to C&lt;/span&gt;&lt;/strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) Directly on toll free highway to City C&lt;br /&gt;(b) The bridge&lt;br /&gt;(c) The Tunnel&lt;br /&gt;(d) The bridge or the tunnel&lt;br /&gt;(e) The bridge only if traffic is heavy on the toll&lt;br /&gt;free highway&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"   style=";font-family:'Bookman Old Style',Arial,'Times New Roman';font-size:14px;"&gt;&lt;strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;2. The most economical way of going from City A to City B, in terms of toll and distance is to use the&lt;/span&gt;&lt;/strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) tunnel&lt;br /&gt;(b) bridge&lt;br /&gt;(c) bridge or tunnel&lt;br /&gt;(d) toll free highway&lt;br /&gt;(e) bridge and highway&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;3. Jim usually drives alone from City C to City A every working day. His firm deducts a percentage of employee pay for lateness. Which factor would most influence his choice of the bridge or the tunnel ?&lt;/span&gt;&lt;/strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) Whether his wife goes with him&lt;br /&gt;(b) scenic beauty on the route&lt;br /&gt;(c) Traffic conditions on the road, bridge and tunnel&lt;br /&gt;(d) saving $0.25 in tolls&lt;br /&gt;(e) price of gasoline consumed in covering additional&lt;br /&gt;10 miles on the&lt;br /&gt;bridge&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;4. In choosing between the use of the bridge and the tunnel the chief  factor(s) would be: &lt;/span&gt;&lt;/strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;I. Traffic and road conditions&lt;br /&gt;II. Number of passengers in the car&lt;br /&gt;III. Location of one's homes in the center or&lt;br /&gt;outskirts of one of the&lt;br /&gt;cities&lt;br /&gt;IV. Desire to save $0.25&lt;br /&gt;&lt;br /&gt;(a) I only&lt;br /&gt;(b) II only&lt;br /&gt;(c) II and III only&lt;br /&gt;(d) III and IV only&lt;br /&gt;(e) I and II only&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The letters A, B, C, D, E, F and G, not necessarily in that order, stand for seven consecutive integers from 1 to 10&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;D is 3 less than A&lt;br /&gt;B is the middle term&lt;br /&gt;F is as much less than B as C is greater than D&lt;br /&gt;G is greater than F&lt;br /&gt;&lt;/span&gt;&lt;strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;1. The fifth integer is&lt;/span&gt;&lt;/strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) A&lt;br /&gt;(b) C&lt;br /&gt;(c) D&lt;br /&gt;(d) E&lt;br /&gt;(e) F&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;2. A is as much greater than F as which integer is less than G&lt;/span&gt;&lt;/strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) A&lt;br /&gt;(b) B&lt;br /&gt;(c) C&lt;br /&gt;(d) D&lt;br /&gt;(e) E&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;3. If A = 7, the sum of E and G is&lt;/span&gt;&lt;/strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) 8&lt;br /&gt;(b) 10&lt;br /&gt;(c) 12&lt;br /&gt;(d) 14&lt;br /&gt;(e) 16&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;4. A - F = ?&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;(a) 1&lt;br /&gt;(b) 2&lt;br /&gt;(c) 3&lt;br /&gt;(d) 4&lt;br /&gt;(e) Cannot be determined&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;5. An integer T is as much greater than C as C isgreater than E. T can be written as A + E. What is D?&lt;/span&gt;&lt;/strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) 2&lt;br /&gt;(b) 3&lt;br /&gt;(c) 4&lt;br /&gt;(d) 5&lt;br /&gt;(e) Cannot be determined&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"  style="font-family:'Bookman Old Style',Arial,'Times New Roman';"&gt;&lt;strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;6. The greatest possible value of C is how much greater than the smallest possible value of D?&lt;/span&gt;&lt;/strong&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;(a) 2&lt;br /&gt;(b) 3&lt;br /&gt;(c) 4&lt;br /&gt;(d) 5&lt;br /&gt;(e) 6&lt;br /&gt;&lt;br /&gt;Ans. (a)&lt;/span&gt;&lt;/p&gt;&lt;p class="answers"  style=";font-family:'Bookman Old Style', Arial, 'Times New Roman';"&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(153, 153, 153); letter-spacing: 1px; line-height: 14px; text-transform: uppercase;font-family:'Trebuchet MS';font-size:10;"  &gt;&lt;div class="post-body" style="margin: 0px 0px 0.75em; line-height: 1.6em;"&gt;&lt;p class="answers"   style="font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span"  style="font-size:24;"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;others Links of General Aptitude Question's&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;index&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;1.&lt;a href="http://wikipointer.blogspot.com/2008/10/math-trivias-questions-and-answers.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Math Trivias Questions And Answers&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;2.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions and SOLUTION | Aptitude Interview Questions and SOLUTION &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;3.&lt;a href="http://wikipointer.blogspot.com/2008/10/best-placement-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Best Placement Aptitude Questions Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;4.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-knowledge-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Knowledge Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;5.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-with-solutions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions WITH SOLUTIONS and Free Aptitude Tests with Interview Questions WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;6.I&lt;a href="http://wikipointer.blogspot.com/2008/10/infosys-placement-aptitude-interview.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;nfosys placement Aptitude Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;7.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-assessment-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;General Aptitude Assessment Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;8.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-placement-aptitude-test-with.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;General Placement Aptitude Test WITH SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;9.&lt;a href="http://wikipointer.blogspot.com/2008/10/self-referential-aptitude-test.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Self-Referential Aptitude Test Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;10.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions with Solution | Aptitude Interview Questions with Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;11.&lt;a href="http://wikipointer.blogspot.com/2008/10/placement-aptitude-paper-with-solutions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Placement APTITUDE PAPER WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;12.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-test-battery-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;GENERAL APTITUDE TEST BATTERY with SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;13.&lt;a href="http://wikipointer.blogspot.com/2008/10/sample-logical-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Sample Logical Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;14.&lt;a href="http://wikipointer.blogspot.com/2008/10/logical-aptitude-placement-questions.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Logical &amp;amp; Aptitude Placement Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;15.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions | Interview Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;16.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions | Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;17.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-aptitude.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Aptitude Questions Interview | Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style="clear: both;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="post-footer"   style="margin: 0.75em 0px; color: rgb(153, 153, 153); text-transform: uppercase; letter-spacing: 0.1em; font-style: normal; font-variant: normal; font-weight: normal; font-size-adjust: none; font-stretch: normal; line-height: 1.4em;font-family:'Trebuchet MS',Trebuchet,Arial,Verdana,sans-serif;font-size:78%;"&gt;&lt;p class="post-footer-line post-footer-line-2"&gt;&lt;span class="post-labels"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-8999845951714919863?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/nkBeZu-uiBQ28Q9C95AXx6ULhXs/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nkBeZu-uiBQ28Q9C95AXx6ULhXs/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/nkBeZu-uiBQ28Q9C95AXx6ULhXs/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/nkBeZu-uiBQ28Q9C95AXx6ULhXs/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/fjgJX1M7cEs" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/8999845951714919863/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=8999845951714919863" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/8999845951714919863?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/8999845951714919863?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/fjgJX1M7cEs/quantitative-aptitude-questions-with.html" title="Quantitative Aptitude Questions with Solution | Aptitude Interview Questions with Solution" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-with.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUASXw9fCp7ImA9WxJVFEg.&quot;"><id>tag:blogger.com,1999:blog-2514528106536766727.post-5157284687316439674</id><published>2009-07-11T18:15:00.000-07:00</published><updated>2009-07-01T06:00:48.264-07:00</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2009-07-01T06:00:48.264-07:00</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="General Aptitude links" /><title>Self-Referential Aptitude Test Questions with  Solution</title><content type="html">&lt;span class="Apple-style-span" style="border-collapse: collapse;font-family:'times new roman';" &gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A wizard named Nepo says "I am only three times my son's age. My father is 40 years more than twice my age. Together the three of us are a mere 1240 years old." How old is Nepo?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 360 years old.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;One dog tells the other that there are two dogs in front of me. The other one also shouts that he too had two behind him. How many are they?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans. Three.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A man ate 100 bananas in five days, each day eating 6 more than the previous day. How many bananas did he eat on the first day?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans. Eight.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;If it takes five minutes to boil one egg, how long will it take to boil four eggs?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans. Five minutes.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;The minute hand of a clock overtakes the hour hand at intervals of 64 minutes of correct time. How much a day does the clock gain or lose?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 32 8/11 minutes.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Solve for x and y: 1/x - 1/y = 1/3, 1/x2 + 1/y2 = 5/9.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Ans. x = 3/2 or -3 and y = 3 or -3/2.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Daal is now being sold at Rs. 20 a kg. During last month its rate was Rs. 16 per kg. By how much percent should a family reduce its consumption so as to keep the expenditure fixed?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 20 %.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Find the least value of 3x + 4y if x2y3 = 6.&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 10.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Can you find out what day of the week was January 12, 1979?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans. Friday.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A garrison of 3300 men has provisions for 32 days, when given at a rate of 850 grams per head. At the end of 7 days a reinforcement arrives and it was found that now the provisions will last 8 days less, when given at the rate of 825 grams per head. How, many more men can it feed? &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;Ans. 1700 men.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;From 5 different green balls, four different blue balls and three different red balls, how many combinations of balls can be chosen taking at least one green and one blue ball?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 3720.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Three pipes, A, B, &amp;amp; C are attached to a tank. A &amp;amp; B can fill it in 20 &amp;amp; 30 minutes respectively while C can empty it in 15 minutes. If A, B &amp;amp; C are kept open successively for 1 minute each, how soon will the tank be filled?&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 167 minutes.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="for_questions_blue" style="color: rgb(0, 0, 0); font-weight: bold; text-decoration: none;font-family:VErdana;" &gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;A person walking 5/6 of his usual rate is 40 minutes late. What is his usual time? &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;br /&gt;Ans. 3 hours 20 minutes.&lt;/span&gt;&lt;/p&gt;&lt;p&gt;&lt;span class="Apple-style-span" style="border-collapse: separate; color: rgb(153, 153, 153); letter-spacing: 1px; line-height: 14px; text-transform: uppercase;font-family:'Trebuchet MS';font-size:10;"  &gt;&lt;div class="post-body" style="margin: 0px 0px 0.75em; line-height: 1.6em;"&gt;&lt;p class="answers"   style="font-family:'Bookman Old Style', Arial, 'Times New Roman';font-size:14px;"&gt;&lt;span class="Apple-style-span"  style="font-size:24;"&gt;&lt;span class="Apple-style-span" style="color: rgb(204, 0, 0);"&gt;others Links of General Aptitude Question's&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;index&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;1.&lt;a href="http://wikipointer.blogspot.com/2008/10/math-trivias-questions-and-answers.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Math Trivias Questions And Answers&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;2.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions and SOLUTION | Aptitude Interview Questions and SOLUTION &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;3.&lt;a href="http://wikipointer.blogspot.com/2008/10/best-placement-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Best Placement Aptitude Questions Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;4.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-knowledge-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Knowledge Interview Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;5.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-with-solutions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions WITH SOLUTIONS and Free Aptitude Tests with Interview Questions WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;6.I&lt;a href="http://wikipointer.blogspot.com/2008/10/infosys-placement-aptitude-interview.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;nfosys placement Aptitude Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;7.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-assessment-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;General Aptitude Assessment Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;8.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-placement-aptitude-test-with.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;General Placement Aptitude Test WITH SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;9.&lt;a href="http://wikipointer.blogspot.com/2008/10/self-referential-aptitude-test.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Self-Referential Aptitude Test Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;10.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions with Solution | Aptitude Interview Questions with Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;11.&lt;a href="http://wikipointer.blogspot.com/2008/10/placement-aptitude-paper-with-solutions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Placement APTITUDE PAPER WITH SOLUTIONS &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;12.&lt;a href="http://wikipointer.blogspot.com/2008/10/general-aptitude-test-battery-with.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;GENERAL APTITUDE TEST BATTERY with SOLUTIONS&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;13.&lt;a href="http://wikipointer.blogspot.com/2008/10/sample-logical-aptitude-questions-and.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Sample Logical Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;14.&lt;a href="http://wikipointer.blogspot.com/2008/10/logical-aptitude-placement-questions.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Logical &amp;amp; Aptitude Placement Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;15.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Aptitude Questions | Interview Questions and Solution&lt;/a&gt;&lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;16.&lt;a href="http://wikipointer.blogspot.com/2008/10/quantitative-aptitude-questions.html" style="color: rgb(85, 136, 170); text-decoration: none;"&gt;Quantitative Aptitude Questions | Interview Questions and Answers&lt;/a&gt; &lt;/p&gt;&lt;p class="answers" face="'Bookman Old Style', Arial, 'Times New Roman'" size="14px"&gt;17.&lt;a href="http://wikipointer.blogspot.com/2008/10/aptitude-questions-interview-aptitude.html" style="color: rgb(153, 153, 153); text-decoration: none;"&gt;Aptitude Questions Interview | Aptitude Questions and Answers &lt;/a&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;div style="clear: both;"&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="post-footer"   style="margin: 0.75em 0px; color: rgb(153, 153, 153); text-transform: uppercase; letter-spacing: 0.1em; font-style: normal; font-variant: normal; font-weight: normal; font-size-adjust: none; font-stretch: normal; line-height: 1.4em;font-family:'Trebuchet MS',Trebuchet,Arial,Verdana,sans-serif;font-size:78%;"&gt;&lt;p class="post-footer-line post-footer-line-2"&gt;&lt;span class="post-labels"&gt;&lt;/span&gt;&lt;/p&gt;&lt;/div&gt;&lt;/span&gt;&lt;/p&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/2514528106536766727-5157284687316439674?l=wikipointer.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-tK25YP2cDvXKrKZhWJT3hlAHnc/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-tK25YP2cDvXKrKZhWJT3hlAHnc/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-tK25YP2cDvXKrKZhWJT3hlAHnc/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-tK25YP2cDvXKrKZhWJT3hlAHnc/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/QuestionWithSolution/~4/IzwYHUal7kM" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://wikipointer.blogspot.com/feeds/5157284687316439674/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=2514528106536766727&amp;postID=5157284687316439674" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/5157284687316439674?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/2514528106536766727/posts/default/5157284687316439674?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/QuestionWithSolution/~3/IzwYHUal7kM/self-referential-aptitude-test.html" title="Self-Referential Aptitude Test Questions with  Solution" /><author><name>Jiya</name><uri>http://www.blogger.com/profile/17744185549894821783</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="27" src="http://2.bp.blogspot.com/_b75UL5G9BPA/SMhY6MiPhII/AAAAAAAAB-E/x6O8uSpFuB8/S220/barbara-mori-med1.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://wikipointer.blogspot.com/2008/10/self-referential-aptitude-test.html</feedburner:origLink></entry></feed>

