☰
×
Home
◈ Introduction
C - Data Types IQ
◈ C Data Type Tricky - I
◈ C Data Type Tricky - II
◈ C Data Type Tricky - III
◈ C Data Type Tricky - IV
◈ C Data Type Tricky - V
C - Operators IQ
◈ C Operators Tricky - I
◈ C Operators Tricky - II
◈ C Operators Tricky - III
Choose the Correct
◈ Choose the Correct Ans - I
◈ Choose the Correct Ans- II
◈ Choose the Correct Ans - III
◈ Choose the Correct Ans - IV
◈ Choose the Correct Ans - V
◈ Choose the Correct Ans - VI
Find Output - Tricky
◈ C Pgm Tricky Questions I
◈ C Pgm Tricky Questions II
◈ C Pgm Tricky Questions III
◈ C Pgm Tricky Questions IV
◈ C Pgm Tricky Questions V
◈ C Pgm Tricky Questions VI
◈ C Pgm Tricky Questions VII
◈ C Pgm Tricky Questions VIII
◈ C Pgm Tricky Questions IX
C - General IQ
◈ General C Questions I
◈ General C Questions II
◈ General C Questions III
◈ General C Questions IV
◈ General C Questions V
◈ General C Questions VI
◈ General C Questions VII
Home
About
Consulting
Training
Tutorial
Interview Questions
Contact
Interview Questions
C Programming - Operators
Home
C Interview Questions
◈ Introduction
C Data Types Tricky Questions
◈ C Data Type Tricky Questions I
◈ C Data Type Tricky Questions II
◈ C Data Type Tricky Questions III
◈ C Data Type Tricky Questions IV
◈ C Data Type Tricky Questions V
C Operators Interview Questions
◈ C Operators Tricky Questions I
◈ C Operators Tricky Questions II
◈ C Operators Tricky Questions III
Choose the Correct Answer
◈ Choose the Correct Answer I
◈ Choose the Correct Answer II
◈ Choose the Correct Answer III
◈ Choose the Correct Answer IV
◈ Choose the Correct Answer V
◈ Choose the Correct Answer VI
Find Output - Tricky C Program
◈ C Programs Tricky Questions I
◈ C Programs Tricky Questions II
◈ C Programs Tricky Questions III
◈ C Programs Tricky Questions IV
◈ C Programs Tricky Questions V
◈ C Programs Tricky Questions VI
◈ C Programs Tricky Questions VII
◈ C Programs Tricky Questions VIII
◈ C Programs Tricky Questions IX
General C Interview Questions
◈ General C Questions I
◈ General C Questions II
◈ General C Questions III
◈ General C Questions IV
◈ General C Questions V
◈ General C Questions VI
◈ General C Questions VII
C Programming Interview Questions
C - Operators II
« Prev
Next »
C Operators Interview Questions
Program 16 main() { int x=10,y=5,p,q; p=x>9; q=p||(x=5,y=10); printf("%d %d %d\n",q,x,y); } Program 17 main() { int x=-2; x=-x-x+x; printf("%d\n",x); } Program 18 main() { int a=1,b=2,c=3; a=a?b:c; c=-b?a:c; printf("%d %d\n",a,c); } Program 19 main() { int x=2,y=1; y+=x<<=2; printf("%d %d\n",x,y); } Program 20 main() { int x=-5u,y=5; y=y>x?y/x:x/y; printf("%u\n",y); } Program 21 main() { int a,b,sum=0; sum=(a=5,b=9,++a + ++b); printf("%d\n",sum); } Program 22 main() { int x,y,z; z=(x=3) && (y=7) & 10; printf("%d\n",z); } Program 23 main() { int x=2,y=4,z; z=y++*x++|y--; printf("%d\n",z); } Program 24 main() { int a=5,b=6,c=7,d; d=a&=b&=c&&a; printf("%d\n",d); } Program 25 main() { float a=5,b=2; int c; c=a%b; printf("%d\n",c); } Program 26 main() { int i=10; i=(10<10)?(10>=10)?(10<=10)?1:2:3:4; printf("%d\n",i); } Program 27 main() { int x=5; printf("%d\n",x*++x/--x); } Program 28 main() { int a,b; a=b=2; a=a++ + ++b; printf("%d\n",a++); } Program 29 main() { int x=300*250/100; printf("%d\n",x); } Program 30 main() { int a=10,b=20; //a=(a>5||(b=6)?40:50); a=(a>5||b=6?40:50); printf("%d\n",a); }
« Prev
Next »
Helpful Links
Sateeshkg Home
Interview Questions
Corporate Training
Recommended Books
Linux Consulting
Apply for Job Assistance
If you have any queries please email us at
info@motionzen.com