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 / varun

The Console will wait for two integer inputs.
After giving any two integer values, it will
return two values
1) no. of input i.e 2
2) Address of the first integer.
e.g
I have tested it with input-> 1,1 ; 2,9; 3,5; etc.....
For all it returns 2 3457158

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is dynamic variable in c?

1022


How many types of operators are there in c?

1024


What are the different types of linkage exist in c?

1022


Can include files be nested?

1097


Is c easier than java?

1058


When I set a float variable to, say, 3.1, why is printf printing it as 3.0999999?

1059


What is a const pointer in c?

1122


Discuss the function of conditional operator, size of operator and comma operator with examples.

1151


An integer that indentifies the position of a data item in a sequence of data items a) value b) number c) index d) all of the above

1195


Explain how can I open a file so that other programs can update it at the same time?

1098


What is #define?

1100


how to print the character with maximum occurence and print that number of occurence too in a string given ?

2456


What does c mean before a date?

1168


Why does this code crash?

1081


Why is structure important for a child?

1096