#&#8206;include&#8236;<stdio.h>
void main()
{
int i;
for(i=5;0;i++)
{
printf("%d",i);
}
}

Answers were Sorted based on User's Feedback



#&#8206;include&#8236;<stdio.h> void main() { int i; for(i=5;0;i++) { printf(&qu..

Answer / khushbu srivastva

a error will be generated i.e unreachable code

Is This Answer Correct ?    7 Yes 1 No

#&#8206;include&#8236;<stdio.h> void main() { int i; for(i=5;0;i++) { printf(&qu..

Answer / deepika agrawal

an error will be encountered in the begining of the program...

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More C Interview Questions

What ios diff. Between %e & %f?

3 Answers   Honeywell,


21. #define square(x) x*x main() { int i; i = 64/square(4); printf("%d",i); }

3 Answers  


Is it cc or c in a letter?

0 Answers  


What is null character in c?

0 Answers  


Do you know null pointer?

0 Answers  


Write c-code for 5+55+555+5555+55555+555555+5555555. Output will be it's answer...

4 Answers   TCS,


write a program to copy the string using switch case?

0 Answers   Mind Tree,


main() { int i,j,A; for(A=-1;A<=1;A++) prinf("%d\t",!!A); }

6 Answers  


let's take a code struct FAQ { int a; char b; float c; double d; int a[10]; }*temp; now explain me how the memory will be allocated for the structure FAQ and what address will be in the structure pointer (temp)....................

8 Answers  


Why c is procedure oriented?

0 Answers  


What is main function in c?

0 Answers  


What is the purpose of the fflush() function in C?

2 Answers  


Categories