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
Do you know what are bitwise shift operators in c programming?
What is struct node in c?
How do you do dynamic memory allocation in C applications?
What are the valid places to have keyword “break”?
can we have joblib in a proc ?
How do I use void main?
2) Write a program that will help Air Traffic Control for an airport to view the sequence of flights ready for take-off. The airport can accommodate 10 flights waiting for take-off at any point in time. Each flight has a unique 3 digit numeric identifier. Each time a flight takes-off, Air Traffic Control adds a flight to the waitlist. Each time a flight is added to the waitlist, the list of flights waiting to take-off must be displayed. When a flight is cleared for take-off, Air Traffic Control removes the flight from the waitlist. Each time a flight takes-off, the list of flights waiting to take-off must be displayed. Sequence of take-off is the sequence of addition to the waitlist
what will be the output for the following main() { printf("hi" "hello"); }
What is return in c programming?
What is the difference between array and structure in c?
What are data structures in c and how to use them?
How do you construct an increment statement or decrement statement in C?
Study the following C program :call_me (myvar)int myvar;{ myvar +- 5; }main(){int myvar;myvar = 3;call_me(myvar);printf("%d ",myvar);What will be printed a) 3 b) 5 c) 8 d) symbol
using only #include
What is the stack in c?