how many times does the loop iterated ?
for (i=0;i=10;i+=2)
printf("Hi\n");
Answer Posted / pradeep
infinite loop becouse ther is no condition given there.
absence of condition it will be printing hi infinite time
| Is This Answer Correct ? | 5 Yes | 2 No |
Post New Answer View All Answers
Difference between macros and inline functions? Can a function be forced as inline?
What is clrscr ()?
Why is c faster?
Explain logical errors? Compare with syntax errors.
What is the advantage of using #define to declare a constant?
how to execute a program using if else condition and the output should enter number and the number is odd only...
What does c mean?
What is structure pointer in c?
How do you define CONSTANT in C?
What are high level languages like C and FORTRAN also known as?
What are the advantages of using new operator as compared to the function malloc ()?
Where local variables are stored in c?
Is it cc or c in a letter?
Explain that why C is procedural?
What are the different categories of functions in c?