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

What is hungarian notation? Is it worthwhile?

1227


What does *p++ do? What does it point to?

1065


What is the use of pointers in C?

1084


What does the message "automatic aggregate intialization is an ansi feature" mean?

1190


How would you use the functions fseek(), freed(), fwrite() and ftell()?

1166


Define recursion in c.

1288


What is #include conio h?

1003


Why is python slower than c?

1094


Explain the difference between structs and unions in c?

1028


What are the types of data structures in c?

1157


how to write a c program to print list of fruits in alpabetical order?

2306


What is p in text message?

988


Do you have any idea about the use of "auto" keyword?

1091


Q.1 write aprogram to stack using linklist o insert 40 items? Q.2 write a program to implement circular queue with help of linklist?

2134


What is data structure in c language?

1114