how many times does the loop iterated ?
for (i=0;i=10;i+=2)
printf("Hi\n");
Answer Posted / sai
It doesn't has condition in the loop to move on, and here i
is of type what?, not mentioned.
This loop doesn't executes with this condition, it should
be told i<= or i>= depending on the requirement.
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
Is return a keyword in c?
What is the role of this pointer?
How can I manipulate individual bits?
program for reversing a selected line word by word when multiple lines are given without using strrev
simple program of graphics and their output display
int main() { Int n=20,i; For(i=0;i<=n;i--) { Printf(“-“); Return 0;
What are local static variables? How can you use them?
please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
Why we not create function inside function.
What is the difference between the = symbol and == symbol?
What is a pointer in c?
Why c is known as a mother language?
What is difference between arrays and pointers?
How can I handle floating-point exceptions gracefully?
What does != Mean in c?