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
All technical questions
Write a program to check prime number in c programming?
Differentiate abs() function from fabs() function.
is it possible to create your own header files?
which is conditional construct a) if statement b) switch statement c) while/for d) goto
How can you draw circles in C?
What is string concatenation in c?
how do you write a function that takes a variable number of arguments? What is the prototype of printf () function?
What is the use of linkage in c language?
Is calloc better than malloc?
Difference between Function to pointer and pointer to function
Why doesnt that code work?
When should a far pointer be used?
Explain how do you convert strings to numbers in c?
Can a file other than a .h file be included with #include?