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 a house a mass structure?
There seem to be a few missing operators ..
what are bit fields in c?
When would you use a pointer to a function?
What is the advantage of using #define to declare a constant?
Why doesn't C support function overloading?
explain what are pointers?
Is there a way to compare two structure variables?
How does selection sort work in c?
What is a union?
Implement bit Array in C.
How do you convert a decimal number to its hexa-decimal equivalent.Give a C code to do the same
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
cavium networks written test pattern ..
What are header files in c programming?