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

Answer Posted / ksprasad

It will go for infinite loop.
But in each iteration, c is assigned with the value 1000.
So each time it will print a character of ascii=1000.

Is This Answer Correct ?    6 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is #line?

611


What is array within structure?

587


What are the preprocessor categories?

639


How do you determine a file’s attributes?

602


What does c value mean?

629






Why dont c comments nest?

623


What are the disadvantages of c language?

622


How to write a multi-statement macro?

625


What is main function in c?

551


What are actual arguments?

647


What are void pointers in c?

575


What is a buffer in c?

576


Can we replace the struct function in tree syntax with a union?

782


Which is more efficient, a switch statement or an if else chain?

584


application areas a 'c' a) operating system b) graphics, interpreter, assembler c) program evalution, communication softwares d) all the above

608