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
What is malloc calloc and realloc in c?
Explain how can I read and write comma-delimited text?
Explain what is the benefit of using an enum rather than a #define constant?
FILE PROGRAMMING
What are the features of the c language?
What is pragma in c?
What are the basic data types associated with c?
What is a volatile keyword in c?
What are reserved words with a programming language?
What is extern c used for?
What the advantages of using Unions?
What is c system32 taskhostw exe?
Write a program to swap two numbers without using third variable?
What is printf () in c?
How do I read the arrow keys? What about function keys?