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

Hello. How to write a C program to check and display president party like if i type in the console "biden" and hit enter the output shoud be : "biden is democrat" and if i type "trump" and hit enter the output shoud be: "trump is republican"

2041


What is preprocessor with example?

1006


Explain what is the advantage of a random access file?

1072


Explain how do you determine a file’s attributes?

1009


What is 1f in c?

2584


What is function pointer c?

1045


which is conditional construct a) if statement b) switch statement c) while/for d) goto

1173


Do character constants represent numerical values?

1292


Describe the difference between = and == symbols in c programming?

1309


.main() { char *p = "hello world!"; p[0] = 'H'; printf("%s",p); }

1236


How can I change the size of the dynamically allocated array?

1105


Why does everyone say not to use scanf? What should I use instead?

1377


what are the advantages of a macro over a function?

1107


When should volatile modifier be used?

967


What is wild pointer in c with example?

1026