#include<stdio.h> void main() { int a=10,b=20,c=30;
printf("%d",scanf("%d%d%d",&a,&b,&c)); }
what is the output for this?
Answers were Sorted based on User's Feedback
Answer / sorab
IT will print 3 becoz in the inner statement of printf()you have scanf() statement .scanf() will take the 3 inputs from user and after that it will return 3 to printf()and 3 display on screen
printf("%d",scanf("%d%d%d%d",&a&b&c));
it will display 4 on screen ...
| Is This Answer Correct ? | 6 Yes | 3 No |
why r u join this company? give solid resons.
16 Answers IBM, Infosys, TCS,
what is the difference between definition and declaration? give me some examples.
the maximum length of a character constant can be a) 1 character b) 8 characters c) 256 chaacters d) 125 characters
How many levels of pointers have?
Explain data types & how many data types supported by c?
What would the following code segment printint k = 8;docout << "k = " << k << " ";while k++ < 5; a) 13 b) 5 c) 8 d) pointers
Explain high-order bytes.
What are c preprocessors?
What is f'n in math?
What is a null string in c?
if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.
Differentiate b/w Modify and Update commands giving example.