main()
{
intx=2,y=6,z=6;
x=y=z;
printf(%d",x)
}

Answer Posted / sorab

error becoz in program written as printf(%d",x)
actually it written like that printf("%d",x);
then the value 6 is print on screen

thanks ....

Is This Answer Correct ?    36 Yes 7 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

how many errors in c explain deply

1622


diff between exptected result and requirement?

1589


How many bytes are occupied by near, far and huge pointers (dos)?

656


Explain the difference between structs and unions in c?

564


What is the difference between ++a and a++?

680






Explain the difference between the local variable and global variable in c?

587


What is pragma c?

601


Why structure is used in c?

572


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

1733


Is c is a high level language?

609


Suggesting that there can be 62 seconds in a minute?

589


What are the two types of functions in c?

553


Does sprintf put null character?

586


By using C language input a date into it and if it is right?

564


How can I make it pause before closing the program output window?

565