what is the output for the code :
main()
{
int i,j;
printf("%d %d ",scanf("%d%d",&i,&j));
}
Answer Posted / varun
The Console will wait for two integer inputs.
After giving any two integer values, it will
return two values
1) no. of input i.e 2
2) Address of the first integer.
e.g
I have tested it with input-> 1,1 ; 2,9; 3,5; etc.....
For all it returns 2 3457158
Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
Can 'this' pointer by used in the constructor?
why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???
What are structural members?
Explain what is wrong with this program statement?
Explain the Difference between the New and Malloc keyword.
What is array within structure?
How many keywords (reserve words) are in c?
Is c pass by value or reference?
Why clrscr is used in c?
what are non standard function in c
Explain what does it mean when a pointer is used in an if statement?
Write a function stroverlap that takes (at least) two strings, and concatenates them, but does not duplicate any overlap. You only need to worry about overlaps between the end of the first string and the beginning of the second string. Examples: batman, manonthemoon = batmanonthemoon batmmamaman, mamamanonthemoon = batmmamamanonthemoon bat, man = batman batman, batman = batman batman, menonthemoon = batmanmenonthemoon
What are the advantages of the functions?
What is function prototype?
Explain the difference between #include "..." And #include <...> In c?