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

When the macros gets expanded?

800


Why is sprintf unsafe?

627


What are the types of c language?

566


Is there any demerits of using pointer?

639


find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2

1539






Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor

2999


What are different storage class specifiers in c?

630


what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;

1900


A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles

657


What is the difference between text and binary modes?

654


i got 75% in all semester am i eligible for your company

1747


What is the difference between union and anonymous union?

843


What is the right way to use errno?

631


What is wrong with this initialization?

599


What is your stream meaning?

616