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
How many parameters should a function have?
How do you write a program which produces its own source code as output?
What are the 5 elements of structure?
What was noalias and what ever happened to it?
What are the different types of endless loops?
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
Explain what is the most efficient way to store flag values?
Explain logical errors? Compare with syntax errors.
What is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?
Are local variables initialized to zero by default in c?
What is the correct declaration of main?
Who invented bcpl language?
Can a function argument have default value?
What are type modifiers in c?
Explain b+ tree?