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


Please Help Members By Posting Answers For Below Questions

Is it cc or c in a letter?

748


1. Write a function to display the sum of two numbers in the following ways: By using (i) pass by value (ii) pass by address a. function with argument and with return value b. function with argument and without return value c. without argument , with return value d. without argument , without return value Note: Use pass by address.

2524


Explain how does flowchart help in writing a program?

843


What extern c means?

718


What is the difference between far and near in c?

781


What does != Mean in c?

776


what do u mean by Direct access files? then can u explain about Direct Access Files?

1826


What is difference between array and structure in c?

774


What does nil mean in c?

872


any "C" function by default returns an a) int value b) float value c) char value d) a & b

853


How do you list files in a directory?

777


what type of questions arrive in interview over c programming?

1757


What is function what are the types of function?

727


What is meant by type specifiers?

869


in any language the sound structure of that language depends on its a) character set, input/output function, its control structures b) character set, library functions, input/output functions its control structures c) character set, library functions, control sturctures d) character set, operators, its control structures

912