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

Why does not c have an exponentiation operator?

1116


List some of the static data structures in C?

1244


how we can make 3d venturing graphics on outer interface

4900


Explain how can you determine the size of an allocated portion of memory?

1151


Do you know the use of fflush() function?

1107


Add Two Numbers Without Using the Addition Operator

882


What is character set?

1216


Why c is known as a mother language?

1132


To print the pattern 1 2 3 4 5 10 17 18 19 6 15 24 25 20 7 14 23 22 21 8 13 12 11 10 9

2690


Tell me can the size of an array be declared at runtime?

1085


write a c program to print the next of a particular no without using the arithmetic operator or looping statements?

4049


What is output redirection?

1277


Are there namespaces in c?

1190


What is a nested formula?

1237


What are the uses of null pointers?

1198