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
explain what is an endless loop?
What are data structures in c and how to use them?
Where we use clrscr in c?
Why calloc is better than malloc?
Explain void pointer?
Input is "rama loves rajesh and rajesh Loves rama also and rajesh wear gloves and bloves" To print output is count the numbers of times repeted the word love without case sensitive.
What is array of structure in c?
What is function and its example?
What are external variables in c?
What is return in c programming?
What is the difference between scanf and fscanf?
What is a nested loop?
which of the following is not a character constant a) 'thank you' b) 'enter values of p, n ,r' c) '23.56E-o3' d) all of the above
What are enums in c?
How can I display a percentage-done indication that updates itself in place, or show one of those twirling baton progress indicators?