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’s the special use of UNIONS?
How to delete a node from linked list w/o using collectons?
How can I handle floating-point exceptions gracefully?
What is the heap in c?
Explain how do you determine a file’s attributes?
What is clrscr ()?
In C programming, what command or code can be used to determine if a number of odd or even?
An organised method of depicting the use of an area of computer memory used to signify the uses for different parts of the memory a) swap b) extended memory c) memory map d) all of the above
Explain what are preprocessor directives?
What are the rules for identifiers in c?
i got 75% in all semester am i eligible for your company
Which header file is used for clrscr?
Why is struct padding needed?
How can I write a function that takes a format string and a variable number of arguments?
What do you mean by keywords in c?