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 advantage of pointer in c?
What are extern variables in c?
Explain what is the benefit of using const for declaring constants?
Write a program to print fibonacci series without using recursion?
What is the general form of a C program?
What is self-referential structure in c programming?
Can you assign a different address to an array tag?
Explain how can I avoid the abort, retry, fail messages?
What does 4d mean in c?
What are c identifiers?
What is function what are the types of function?
What is the general form of #line preprocessor?
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.
What do you understand by friend-functions? How are they used?
Explain Function Pointer?