how many times does the loop iterated ?
for (i=0;i=10;i+=2)
printf("Hi\n");

Answer Posted / ani

infinite loop, bcoz there is no condition to break the loop.

Is This Answer Correct ?    16 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does the message "automatic aggregate intialization is an ansi feature" mean?

698


Why c language is called c?

573


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

598


What is the difference between a free-standing and a hosted environment?

647


write a programming in c to find the sum of all elements in an array through function.

1710






What is the difference between the expression “++a” and “a++”?

652


Is r written in c?

731


What is the difference between printf and scanf in c?

757


What are the advantages of external class?

598


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

714


Can a void pointer point to a function?

581


How can you check to see whether a symbol is defined?

596


When do we get logical errors?

644


Difference between strcpy() and memcpy() function?

685


Explain output of printf("Hello World"-'A'+'B'); ?

981