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 / suraj verma

It will return number of arguments taken
by scanf function which is two in this case
& the other value can be any garbage value.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Can you write a programmer for FACTORIAL using recursion?

1041


How can you return multiple values from a function?

1116


What do you mean by command line argument?

1178


What is c token?

1068


Why shouldn’t I start variable names with underscores?

1065


What is typedf?

1126


What is wrong with this initialization?

1007


What is the use of typedef in structure in c?

970


What is huge pointer in c?

1087


string reverse using recursion

2466


Under what circumstances does a name clash occur?

1200


What are the loops in c?

995


Explain how do you convert strings to numbers in c?

1080


a parameter passed between a calling program and a called program a) variable b) constant c) argument d) all of the above

1113


Explain what are multibyte characters?

1194