#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 ANSI and ISO
What is graph in c?
What does %f mean c?
What is the sizeof () operator?
What is the difference between char array and char pointer?
what is the difference between getch() and getche()?
struct node {struct node*temp,*new} prinf("%d",sizeof(struct node));
Describe the modifier in c?
how to find the sizof of any datatype using bit manipulations
a c variable cannot start with a) an alphabet b) a number c) a special symbol d) both b and c above
Table of Sudoku n*n
for(;;) printf("C language") What is out put of above??
2 Answers Practical Viva Questions,