Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...

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


Please Help Members By Posting Answers For Below Questions

What’s the special use of UNIONS?

1104


How to delete a node from linked list w/o using collectons?

2717


How can I handle floating-point exceptions gracefully?

1105


What is the heap in c?

1029


Explain how do you determine a file’s attributes?

998


What is clrscr ()?

1051


In C programming, what command or code can be used to determine if a number of odd or even?

988


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

1114


Explain what are preprocessor directives?

1011


What are the rules for identifiers in c?

1023


i got 75% in all semester am i eligible for your company

2169


Which header file is used for clrscr?

996


Why is struct padding needed?

1024


How can I write a function that takes a format string and a variable number of arguments?

1001


What do you mean by keywords in c?

1079