#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 static is used in c?
what is difference between null and nul in c language
what are two categories of clint-server application development ?
What is difference between Structure and Unions?
if p is a string contained in a string?
what is a static function
void main() { int *ptr; ptr = (int *) 0x400 ; printf("ptr=%d",ptr); } output?
f=(x>y)?x:y a) f points to max of x and y b) f points to min of x and y c)error
prog for 1st five prime numbers in 2^x - 1
write a c program to find the probability of random numbers between 1-1000
Ca some one please help me with aC code to allow user enter numbers from 1 to 20 without repeating and prnt the sum of those numbers thnx
What is the output for the below program? void main() { float me=1.1; double you=1.1; if(me==you) printf("love c"); else printf("know c"); }