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
Why is #define used?
What is the use of sizeof () in c?
Can you please explain the difference between strcpy() and memcpy() function?
How can you call a function, given its name as a string?
Can you write a programmer for FACTORIAL using recursion?
What is wrong in this statement?
What are the complete rules for header file searching?
What is variable declaration and definition in c?
hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?
What are the applications of c language?
Which header file is used for clrscr?
What are header files and explain what are its uses in c programming?
Why main is used in c?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
What is the purpose of realloc()?