int i =10
main()
{
int i =20,n;
for(n=0;n<=i;)
{
int i=10
i++;
}
printf("%d", i);
Answer Posted / vignesh1988i
it will not print i value at all , since the loop is always
true for all cases. since the termination condition is
depending upon n&i,always n<=i, what ever possibe positive
value greater than zero ,it may be.
| Is This Answer Correct ? | 5 Yes | 0 No |
Post New Answer View All Answers
Should I learn data structures in c or python?
Tell me what is null pointer in c?
What is character constants?
Explain the difference between null pointer and void pointer.
What are pointers?
What is property type c?
What are the advantages and disadvantages of a heap?
Write a code of a general series where the next element is the sum of last k terms.
What does d mean?
What are identifiers and keywords in c?
Why does this code crash?
What is the advantage of a random access file?
What is use of bit field?
Why do we use header files in c?
Write a c program to demonstrate character and string constants?