what is the output for the code :
main()
{
int i,j;
printf("%d %d ",scanf("%d%d",&i,&j));
}
Answer Posted / sha
The first output would be the number of values scanned by
scanf, i.e. 2. I compiled the code and the second output
seems to be the address the second input given by user.
Input: 4 5
Output: 2 1242772
| Is This Answer Correct ? | 1 Yes | 1 No |
Post New Answer View All Answers
How can I implement sets or arrays of bits?
Explain how to reverse singly link list.
How to write a program for machine which is connected with server for that server automatically wants to catch the time for user of that machine?
What is the translation phases used in c language?
Explain the difference between the local variable and global variable in c?
In a switch statement, explain what will happen if a break statement is omitted?
What is a sequential access file?
What is a list in c?
How do you initialize pointer variables?
Where does the name "C" come from, anyway?
What is the difference between abs() and fabs() functions?
What are the 3 types of structures?
Do pointers store the address of value or the actual value of a variable?
while initialization of array why we use a[][2] why not a[2][]...?
If I have a char * variable pointing to the name of a function ..