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
What is the argument of a function in c?
I heard that you have to include stdio.h before calling printf. Why?
Explain why can’t constant values be used to define an array’s initial size?
What is calloc malloc realloc in c?
How do I get a null pointer in my programs?
Which driver is a pure java driver
What is a pointer variable in c language?
Do you know what are the properties of union in c?
Write a Program to find whether the given number or string is palindrome.
What are the disadvantages of a shell structure?
Why structure is used in c?
What is the difference between union and anonymous union?
Is malloc memset faster than calloc?
What are c header files?
Who is the main contributor in designing the c language after dennis ritchie?