☰
×
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 III
« Prev
Next »
C Operators Interview Questions
Program 31 main() { int x=16384,y=1; x<<=y; printf("%d\n",x); } Program 32 main() { printf("%x\n",-1>>4); printf("%x\n",-1<<4); } Program 33 main() { int p=3,q=-5,x=4,y=2,z; z=p++ + ++q * y / x; printf("%d\n",z); } Program 34 main() { int x=7; x=(x<<=x%2); printf("%d\n",x); } Program 35 main() { int a=2,b=5,c=1; printf("%d\n",(b>=a>=c?1:0)); } Program 36 main() { int x=1; if(x++>=x) printf("%d\n",x); else printf("%d\n",++x); } Program 37 main() { int a=2; printf("%d %d %d\n",a++,++a,a); } Program 38 main() { int a=1,b; b=+-+a+-a; printf("%d\n",b); } Program 39 main() { int a=5; a=a-~a +1; printf("%d\n",a); } Program 40 main() { int a,b=0,c=10; if(c=a==b) printf("TRUE\n"); else printf("FALSE\n"); } Program 41 main() { int i=3,j=5; i++; if(i==--j) break; else printf("continue"); printf("%d\n",j); } Program 42 main() { int a=2,b; b=a++*++a*a++; printf("%d %d\n",a,b); } Program 43 main() { int a,b,c,x; a=b=c=1; x=--a||++b*(3-1)/2&&b*(--c/3); printf("%d\n",x); } Program 44 main() { int i=5; if(i=i++ - i) { printf("%d",i); printf("hello\n"); } else { printf("%d",i); printf("hi\n"); } }
« 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