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
Explain null pointer.
Who developed c language?
what are non standard function in c
An arrangement of information in memory in such a way that it can be easily accessed and processed by a programming language a) string b) data structure c) pointers d) array
Explain what is wrong with this program statement?
What is call by reference in functions?
Suppose we have a table name EMP as below. We want to perform a operation in which, I want to change name ‘SMITH’ from as ‘SMITH JAIN’. Also I want to change the name of the column from ENAME to E_NAME. EMPNO ENAME JOB MGR HIREDATE SAL 7369 SMITH Coder 7902 17-DEC-80 800 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250
What is a pointer value and address in c?
Describe wild pointers in c?
Explain what is the difference between a free-standing and a hosted environment?
Why ca not I do something like this?
How do you initialize pointer variables?
Is it possible to initialize a variable at the time it was declared?
Who developed c language and when?
What is typedef example?