what is op?
for(c=0;c=1000;c++)
printf("%c",c);

Answer Posted / abdur rab

It goes into an infinite loop.

The compiler will check only the syntax, it is upto the
programmer to implement correct logic.

other than initialization, c is always 1000 and there is no
condition to be break the loop

Is This Answer Correct ?    5 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are enumerated types?

656


Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol

667


Combinations of fibanocci prime series

1114


please give me a VIRTUSA sample palcement papers.... you will only send TECHNICAL SECTION..... that is help for me Advance Thanks........................

1541


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

1519






Explain threaded binary trees?

682


How pointer is different from array?

583


When should the volatile modifier be used?

688


When a c file is executed there are many files that are automatically opened what are they files?

594


what is the difference between north western polytechnique university and your applied colleges?? please give ur answers for this. :)

1928


What is the use of in c?

580


Explain about the functions strcat() and strcmp()?

598


how can I convert a string to a number?

597


How can I do graphics in c?

597


Explain what are the standard predefined macros?

653