what will be the output of this program........
main()
{
int a=2,b=4,c=6;
printf("%d");
}
why it gives the value of third variable.

Answer Posted / jayasree

2

Is This Answer Correct ?    7 Yes 9 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

How can you increase the allowable number of simultaneously open files?

598


‎How to define structures? · ‎

630


Difference between exit() and _exit() function?

658


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

1745


Write a function expand(s1,s2) that expands shorthand notations like a-z in the string s1 into the equivalent complete list abc...xyz in s2 . Allow for letters of either case and digits, and be prepared to handle cases like a-b-c and a-z0-9 and -a-z. z-a:zyx......ba -1-6-:-123456- 1-9-1:123456789987654321 a-R-L:a-R...L a-b-c:abbc

5057






What are the types of type qualifiers in c?

651


What is pragma in c?

630


Why does not c have an exponentiation operator?

629


What is structure packing in c?

608


how to create duplicate link list using C???

2075


why do some people write if(0 == x) instead of if(x == 0)?

655


What is data structure in c and its types?

597


Why clrscr is used in c?

588


What is difference between main and void main?

630


A global variable when referred to in another file is declared as this a) local variable b) external variable c) constant d) pointers

651