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

What is the difference between c and python?

580


What is the difference between printf and scanf in c?

745


How can I direct output to the printer?

808


What is volatile, register definition in C

687


please explain every phase in the "SDLC" in the dotnet.

2175






What is storage class?

654


What is line in c preprocessor?

610


List some of the dynamic data structures in C?

785


Why c is called object oriented language?

579


What is the usage of the pointer in c?

604


What is the process to generate random numbers in c programming language?

606


What are identifiers and keywords in c?

564


How can I call fortran?

640


What are header files why are they important?

576


Can you please explain the difference between strcpy() and memcpy() function?

598