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 advantage of pointer in c?

696


What are extern variables in c?

550


Explain what is the benefit of using const for declaring constants?

617


Write a program to print fibonacci series without using recursion?

611


What is the general form of a C program?

600






What is self-referential structure in c programming?

661


Can you assign a different address to an array tag?

703


Explain how can I avoid the abort, retry, fail messages?

592


What does 4d mean in c?

950


What are c identifiers?

630


What is function what are the types of function?

561


What is the general form of #line preprocessor?

588


In this problem you are to write a program that will cut some number of prime numbers from the list of prime numbers between 1 and N.Your program will read in a number N; determine the list of prime numbers between 1 and N; and print the C*2 prime numbers from the center of the list if there are an even number of prime numbers or (C*2)-1 prime numbers from the center of the list if there are an odd number of prime numbers in the list.

1382


What do you understand by friend-functions? How are they used?

648


Explain Function Pointer?

681