what will be the output of "printf("%d%d",scanf("%d%
d",&a,&b))".provide an explation regarding the question
Answer Posted / amegha
scanf() returs the number of vlaues read successfully. so
heree the pritf() prints the value that is returned by the
scanf(), ie 2.(a,b). so the output will be 2 and some
garbage value.
| Is This Answer Correct ? | 5 Yes | 1 No |
Post New Answer View All Answers
What is hungarian notation? Is it worthwhile?
How do I convert a string to all upper or lower case?
What is hashing in c?
Explain what are linked list?
What is Dynamic memory allocation in C? Name the dynamic allocation functions.
What is wrong with this initialization?
Does c have class?
Explain how to reverse singly link list.
What is a struct c#?
What is extern c used for?
How can you tell whether a program was compiled using c versus c++?
a sequence of bytes with one to one corrspondence to those in the external device a) sequential addressing b) address c) byte code d) none
FORMATTED INPUT/OUTPUT functions are a) scanf() and printf() b) gets() and puts() c) getchar() and putchar() d) all the above
program to find error in linklist.(i.e find whether any node point wrongly to previous nodes instead of next node)
What is operator precedence?