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

Answer Posted / altaf khan

it will give an error becoz in place of condition it is given a statement which does not returns boolean value

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Do you have any idea how to compare array with pointer in c?

609


List a few unconditional control statement in c.

564


What standard functions are available to manipulate strings?

567


Explain the difference between getch() and getche() in c?

567


Is there a way to jump out of a function or functions?

638






What is #ifdef ? What is its application?

651


What is time null in c?

587


What are the different types of control structures in programming?

661


What is #line used for?

584


What is function pointer c?

586


What is meant by high-order and low-order bytes?

658


Why is main function so important?

619


what is bit rate & baud rate? plz give wave forms

1523


Where is volatile variable stored?

652


Explain what is the difference between the expression '++a' and 'a++'?

629