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
What is a lvalue
What are integer variable, floating-point variable and character variable?
What are enumerated types?
What is %s and %d in c?
how much salary u want ? why u join in our company? your domain is core sector why u prefer software ?
Why c language is called c?
What are the storage classes in C?
Write a program to implement queue.
Which header file is essential for using strcmp function?
Write a program to check prime number in c programming?
Why is structure important for a child?
Why is it important to memset a variable, immediately after allocating memory to it ?
Explain what is the best way to comment out a section of code that contains comments?
How to write a code for reverse of string without using string functions?
What is the maximum no. of arguments that can be given in a command line in C.?