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

Is c procedural or object oriented?

964


what are the program that using a two dimensional array that list the odd numbers and even numbers separately in a given 10 inputs values

1659


program to convert a integer to string in c language'

2411


can anyone please tell about the nested interrupts?

2076


Is main is a keyword in c?

1079


Why & is used in c?

1126


pgm to find any error in linklist(in single linklist check whether any node points any of previous nodes instead of next node)

2585


Can we declare a function inside a function in c?

996


Are bit fields portable?

1114


What is the difference between union and anonymous union?

1260


Is main a keyword in c?

1089


What is the explanation for the dangling pointer in c?

1073


What does calloc stand for?

1097


Which of these functions is safer to use : fgets(), gets()? Why?

1056


What is restrict keyword in c?

1060