what will be the output of" printf("%d%d",scanf("%d%
d",&a&b));"

Answer Posted / praveen

No, The output will not be 2......The exact output is "It
will take the garbage value"

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain union. What are its advantages?

609


How is a null pointer different from a dangling pointer?

550


Simplify the program segment if X = B then C ← true else C ← false

2575


typedef struct{ char *; nodeptr next; } * nodeptr ; What does nodeptr stand for?

1062


What is the value of a[3] if integer a[] = {5,4,3,2,1}?

658






Explain do array subscripts always start with zero?

751


Given a valid 24 hour format time find the combination of the value and write a program ,do not hard the value and if any other inputs provided should work with the logic implemented Input: 11:30 Output: 13:10 Input: 18:25 Output: 21:58

1111


about c language

1592


What is a pointer value and address in c?

621


What is the size of structure in c?

691


Explain the difference between #include "..." And #include <...> In c?

614


Explain what is the difference between functions getch() and getche()?

597


What is the use of void pointer and null pointer in c language?

618


What is structure in c language?

609


In c programming language, how many parameters can be passed to a function ?

619