what will be the output of" printf("%d%d",scanf("%d%
d",&a&b));"
Answer Posted / satya
main()
{
int a,b;
printf("%d,%d",scanf("%d%d",&a,&b));
}
=> do u mean above program's output...
=>output will be:2,whatever you enter value for b.
=>because scanf is a library fn which will return how many
arguements it processes, and second value
| Is This Answer Correct ? | 3 Yes | 1 No |
Post New Answer View All Answers
Stimulate calculator using Switch-case-default statement for two numbers
What is page thrashing?
What is the condition that is applied with ?: Operator?
What is the purpose of the statement: strcat (S2, S1)?
What are reserved words with a programming language?
What is c value paradox explain?
What are dangling pointers in c?
What is the difference between local variable and global variable in c?
What are the keywords in c?
What does p mean in physics?
what will be the output for the following main() { printf("hi" "hello"); }
How many data structures are there in c?
write a c programming using command line argument,demonstrate set operation(eg;union,intersection,difference) example output is c:>setop 12 34 45 1 union 34 42 66 c:>setop 12 34 1 42 66 c:>setop 12 34 diff 12 56 67 78 setop 12 34
What are data structures in c and how to use them?
What is a loop?