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 / mallikharjuna

6 will come

Is This Answer Correct ?    2 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is difference between far and near pointers?

616


Why isn't any of this standardized in c? Any real program has to do some of these things.

630


Explain the difference between malloc() and calloc() in c?

584


Why do we use pointer to pointer in c?

606


How do we print only part of a string in c?

593






Difference between malloc() and calloc() function?

661


What is data structure in c language?

615


What is void c?

575


What does void main () mean?

741


How can I read a binary data file properly?

640


console I/O functions means a) the I/O operations done on disk b) the I/O operations done in all parts c) the input given through keyboard is displayed VDU screen d) none of the above

664


Explain how do you list files in a directory?

623


Why do we use namespace feature?

588


What is abstract data structure in c?

535


What is a ternary operator in c?

664