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


Please Help Members By Posting Answers For Below Questions

What is a const pointer?

620


What does do in c?

599


how to write a c program to print list of fruits in alpabetical order?

1775


How to draw the flowchart for structure programs?

8753


What are the restrictions of a modulus operator?

623






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?

2044


The statement, int(*x[]) () what does in indicate?

635


write a program to create a sparse matrix using dynamic memory allocation.

4363


What is the difference between a free-standing and a hosted environment?

634


What is the explanation for prototype function in c?

557


Do string constants represent numerical values?

905


Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?

2109


Is this program statement valid? INT = 10.50;

677


Explain modulus operator. What are the restrictions of a modulus operator?

591


What is keyword with example?

621