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 dynamic variable in c?
How many types of operators are there in c?
What are the different types of linkage exist in c?
Can include files be nested?
Is c easier than java?
When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?
What is a const pointer in c?
Discuss the function of conditional operator, size of operator and comma operator with examples.
An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above
Explain how can I open a file so that other programs can update it at the same time?
What is #define?
how to print the character with maximum occurence and print that number of occurence too in a string given ?
What does c mean before a date?
Why does this code crash?
Why is structure important for a child?