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
Between macros and functions,which is better to use and why?
#define PRINT(int) printf("int = %d ",int) main() {< BR> intx,y,z; x=03;y=02;z=01; PRINT(x^x); z<<=3;PRINT(x); y>>=3;PRINT(y); }
Is c procedural or functional?
Do you know the purpose of 'register' keyword?
What is a constant?
WHICH TYPE OF JOBS WE GET BY WRITING GROUPS .WHEN THE EXAMS CONDUCTED IS THIS EXAMS ARE CONDUCTED EVERY YEAR OR NOT.PLS TELL ME THE ANSWER
What is the difference between array_name and &array_name?
What is the size of a union variable?
Can we assign string to char pointer?
What are the disadvantages of external storage class?
Here is a neat trick for checking whether two strings are equal
will u please send me the placement papers to my mail???????????????????
Explain what will the preprocessor do for a program?
What are the modifiers available in c programming language?
What is a loop?