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 the argument of a function in c?

991


I heard that you have to include stdio.h before calling printf. Why?

1006


Explain why can’t constant values be used to define an array’s initial size?

1305


What is calloc malloc realloc in c?

1011


How do I get a null pointer in my programs?

1060


Which driver is a pure java driver

1532


What is a pointer variable in c language?

1037


Do you know what are the properties of union in c?

999


Write a Program to find whether the given number or string is palindrome.

1228


What are the disadvantages of a shell structure?

1267


Why structure is used in c?

1113


What is the difference between union and anonymous union?

1249


Is malloc memset faster than calloc?

1016


What are c header files?

951


Who is the main contributor in designing the c language after dennis ritchie?

953