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


Please Help Members By Posting Answers For Below Questions

Can 'this' pointer by used in the constructor?

807


why to assign a pointer to null sometimes??how can a pointer we declare get assigned with a garbage value by default???

1708


What are structural members?

766


Explain what is wrong with this program statement?

849


Explain the Difference between the New and Malloc keyword.

874


What is array within structure?

821


How many keywords (reserve words) are in c?

794


Is c pass by value or reference?

797


Why clrscr is used in c?

788


what are non standard function in c

1636


Explain what does it mean when a pointer is used in an if statement?

822


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

1969


What are the advantages of the functions?

848


What is function prototype?

776


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

787