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

the above question will give the output 0.

Is This Answer Correct ?    2 Yes 3 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is meant by errors and debugging?

653


What is meant by high-order and low-order bytes?

658


What does the && operator do in a program code?

702


What does 3 periods mean in texting?

604


How can a program be made to print the line number where an error occurs?

657






Why is c so popular?

656


How can you tell whether a program was compiled using c versus c++?

624


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2206


What is header file definition?

577


What is null in c?

602


Why doesnt that code work?

604


What is header file in c?

609


What does %d do in c?

550


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

1647


Give the rules for variable declaration?

682