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
Why we use break in c?
Is swift based on c?
Write a code of a general series where the next element is the sum of last k terms.
Where does the name "C" come from, anyway?
Is it valid to address one element beyond the end of an array?
Write a program of prime number using recursion.
What are the restrictions of a modulus operator?
How can I rethow can I return a sequence of random numbers which dont repeat at all?
Explain the difference between strcpy() and memcpy() function?
What is keyword in c?
What does emoji p mean?
Why do we use null pointer?
What is getch() function?
how to construct a simulator keeping the logical boolean gates in c
What are header files and explain what are its uses in c programming?