what is the output of
printf("%d",(scanf("%d",10));
Answer Posted / hema
In Unix enviroment, this gives warning while compilation
and core when executed with a user value. Since scanf
expects a variable( address) to store the value, whereas
here we are assinging value to constant.
Is This Answer Correct ? | 1 Yes | 0 No |
Post New Answer View All Answers
What is a const pointer?
What does do in c?
how to write a c program to print list of fruits in alpabetical order?
How to draw the flowchart for structure programs?
What are the restrictions of a modulus operator?
Q.1 write a program to create binary tree 1 to 16 numbers? Q.2 write a program to creat a binary search tree for the member that is given by user?
The statement, int(*x[]) () what does in indicate?
write a program to create a sparse matrix using dynamic memory allocation.
What is the difference between a free-standing and a hosted environment?
What is the explanation for prototype function in c?
Do string constants represent numerical values?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
Is this program statement valid? INT = 10.50;
Explain modulus operator. What are the restrictions of a modulus operator?
What is keyword with example?