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 wrong with this initialization?
What is the difference between array and structure in c?
What is array in C
Why void main is used in c?
How many bytes are occupied by near, far and huge pointers (dos)?
What are global variables and explain how do you declare them?
What is the general form of #line preprocessor?
What is the use of sizeof () in c?
Explain a pre-processor and its advantages.
When we use void main and int main?
What are the characteristics of arrays in c?
Synonymous with pointer array a) character array b) ragged array c) multiple array d) none
What is the use of clrscr?
What is the purpose of void pointer?
PROGRAM TO WRITE CONTENTS OF 1 FILE IN REVERSE TO ANOTHER FILE,PROGRAM TO COPY 1 FILE TO ANOTHER BY SPECIFYING FILE NAMES AS COMMAND LINE