#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 |
What is the difference between malloc() and calloc()?
write a own function to compare two strings with out using stringcomparition function?
How to print "I Love My India" without using semi colon?
What does 2n 4c mean?
What are variables and it what way is it different from constants?
why do some people write if(0 == x) instead of if(x == 0)?
Explain how can you be sure that a program follows the ansi c standard?
On most computers additional memory that is accessed through an adapter of feature card along with a device driver program. a) user memory b) conventional memory c) expandedmemory d) area
What is the size of structure in c?
How many types of functions are there in c?
What is anagram in c?
How to print %d in output