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
When the macros gets expanded?
Why is sprintf unsafe?
What are the types of c language?
Is there any demerits of using pointer?
find the value of y y = 1.5x+3 for x<=2 y = 2x+5 for x>2
Write a program to generate a pulse width frequency of your choise,which can be variable by using the digital port of your processor
What are different storage class specifiers in c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
A collection of functions,calls,subroutines or other data a) library b) header files c) set of files d) textfiles
What is the difference between text and binary modes?
i got 75% in all semester am i eligible for your company
What is the difference between union and anonymous union?
What is the right way to use errno?
What is wrong with this initialization?
What is your stream meaning?