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
Why isn't any of this standardized in c? Any real program has to do some of these things.
In c programming language, how many parameters can be passed to a function ?
"%u" unsigned integer print the a) address of variable b) value of variable c) name of a variable d) none of the above
Write a program to check armstrong number in c?
What is sorting in c plus plus?
What is pointer to pointer in c language?
Why we use stdio h in c?
When should volatile modifier be used?
What is the difference between printf and scanf )?
What is bubble sort in c?
What are the functions to open and close file in c language?
What is identifier in c?
what is different between auto and local static? why should we use local static?
What does the c in ctime mean?
Differentiate between new and malloc(), delete and free() ?