#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 value of h?
What's wrong with "char *p; *p = malloc(10);"?
what is ur strangth & weekness
0 Answers Cognizant, LG Soft, NetEnrich,
Is c procedural or object oriented?
in malloc and calloc which one is fast and why?
How can you read a directory in a C program?
C program to find all possible outcomes of a dice?
Explain the binary height balanced tree?
List the difference between a 'copy constructor' and a 'assignment operator' in C?
What is union in c?
create an SINGLE LINKED LISTS and reverse the data in the lists completely
How can I remove the leading spaces from a string?