what is the output of
printf("%d",(scanf("%d",10));
Answer Posted / ravinder singh rawat
scanf returns nos. of arguments taken by scanf hence it
will ask user to input and if integer is fed as I/P then
printf gives 1 as o/p
Is This Answer Correct ? | 4 Yes | 1 No |
Post New Answer View All Answers
When is the “void” keyword used in a function?
Explain how do you declare an array that will hold more than 64kb of data?
Compare array data type to pointer data type
If a variable is a pointer to a structure, then which operator is used to access data members of the structure through the pointer variable?
What is the advantage of using #define to declare a constant?
Explain c preprocessor?
Explain modulus operator. What are the restrictions of a modulus operator?
Explain how can you be sure that a program follows the ansi c standard?
Are comments included during the compilation stage and placed in the EXE file as well?
Can we assign string to char pointer?
Why is c called c?
What is indirection in c?
What are the complete rules for header file searching?
Explain what is the heap?
What is difference between array and pointer in c?