Motionzen
☰
×
◈ Introduction
◈ WIN-IT
◈ Smartplay Technologies
◈ TATA Power
◈ Sasken Technology
◈ MREC Tech
◈ RRSTB Consultancy
◈ Methode Electronics
◈ Hyundai Mobis
◈ Dexcel Electronices
◈ Data Patterns
◈ PROTECH
◈ VVDN - I
◈ VVDN - II
◈ VVDN - III
◈ UST Global - I
◈ UST Global - II
◈ UST Global - III
◈ Other Companies - I
◈ Other Companies - II
◈ Other Companies - III
Home
About
Consulting
Training
Tutorial
Interview Questions
Contact
Interview Questions
MREC Tech - Interview Experience
Home
Company Interview Experience
◈ Introduction
◈ WIN-IT
◈ Smartplay Technologies
◈ TATA Power
◈ Sasken Technology
◈ MREC Tech
◈ RRSTB Consultancy
◈ Methode Electronics
◈ Hyundai Mobis
◈ Dexcel Electronices
◈ Data Patterns
◈ PROTECH
◈ VVDN - I
◈ VVDN - II
◈ VVDN - III
◈ UST Global - I
◈ UST Global - II
◈ UST Global - III
◈ Other Companies - I
◈ Other Companies - II
◈ Other Companies - III
Interview Questions
MREC Tech - Interview Experience
« Prev
Next »
MREC Tech - Interview Questions and Answer
Find Output of the Following C Program
Program 1 #include
main() { int a[10],count; for(count=0;count<10;count++) count[a]=count; if(count==10) printf("Successful \n"); else printf("Not Successful \n"); } Program 2 #include
main() { int count; for(count=0;count<10;count++) { int count=1; count+=2; } printf("%d\n",count); } Program 3 #define cube(x) x*x*x main() { int num=5; printf("%d %d \n",cube(num+1),cube(num+1-1)); } Program 4 #include
int display(char *); main() { char name[]="starcom"; display(name+2); } int display(char *name) { if(*name=='\0') { return 0; } printf("%c",*name); display(++name); if(*name=='\0') { return 0; } printf("%c",*name); }
« 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