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
What is difference between union and structure in c?
Explain how to reverse singly link list.
What does do in c?
Why static is used in c?
What are the keywords in c?
Explain how can I remove the trailing spaces from a string?
Why are all header files not declared in every c program?
What is the g value paradox?
What is the use of #include in c?
What are shell structures used for?
What is the difference between #include and #include 'file' ?
What is a good data structure to use for storing lines of text?
What are the types of variables in c?
Explain what are reserved words?
What is the full form of getch?