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
How pointer is different from array?
How can I check whether a file exists? I want to warn the user if a requested input file is missing.
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
What is an array in c?
Should I learn data structures in c or python?
What is scope rule in c?
Differentiate between new and malloc(), delete and free() ?
What is use of pointer?
Write a program to print all permutations of a given string.
What is malloc calloc and realloc in c?
What is structure packing in c?
What is meant by preprocessor in c?
What is the use of c language in real life?
What is a pointer and how it is initialized?
Explain what is the difference between a string copy (strcpy) and a memory copy (memcpy)? When should each be used?