☰
×
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 I
« Prev
Next »
C Operators Interview Questions
Program 1 main() { int x,y; x=10; y=sizeof(++x); printf("x=%d y=%d\n",x,y); } Program 2 main() { int a,b,c=32; if(a==b==c) printf("delhi challo\n"); else printf("do or die\n"); } Program 3 main() { unsigned int x=~5; printf("%u %d\n",x,x); } Program 4 calc(int x,int y,int z) { return (x+y+z); } main() { int x=10; printf("%d\n",calc(x++,++x,x++)); } Program 5 main() { int x,y=6; x=y>5||++y; printf("%d %d\n",x,y); } Program 6 main() { int x=-17>>2; printf("%d\n",x); } Program 7 main() { int x=!0*20; printf("%d\n",x); } Program 8 main() { int i=5; if(i++ -i) { printf("%d",i); printf("Hello\n"); } else { printf("%d",i); printf("Hi\n"); } } Program 9 main() { int x=5; printf("%d %d %d\n",x++,x++,x++); } Program 10 main() { int x=2; printf("%d ",++x++); printf("%d\n",x++); } Program 11 void call(int a) { if(a<6) call(++a); printf("%d\n",a); } main() { call(3); } Program 12 main() { int k=1; printf("%d==1 is ""%s\n",k,k==1?"TRUE":"FALSE"); } Program 13 main() { printf("%*d\n",10,15); } Program 14 main() { int i=5; i=i++ - --i + ++i; printf("%d\n",i); } Program 15 main() { int a=7; a+=a+=a-=6; 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