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
When should the register modifier be used? Does it really help?
Explain what are preprocessor directives?
What is adt in c programming?
What are the types of unary operators?
What is the purpose of the statement: strcat (S2, S1)?
Where define directive used?
Explain what are the different data types in c?
Why C language is a procedural language?
Write a program to print "hello world" without using a semicolon?
This is a variation of the call_me function in the previous question:call_me (myvar)int *myvar;{ *myvar += 5; }The correct way to call this function from main() will be a) call_me(myvar) b) call_me(*myvar) c) call_me(&myvar) d) expanded memory
What is an array in c?
In C language, a variable name cannot contain?
Can the “if” function be used in comparing strings?
Explain what are binary trees?
Can a pointer be static?