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

The result of this program will be:
you have to enter two int numbers
output : 2 <the last number entered>

Is This Answer Correct ?    12 Yes 6 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a lookup table in c?

1117


What is the use of typedef in c?

1029


How do I copy files?

1050


write a c program to calculate sum of digits till it reduces to a single digit using recursion

3306


Explain union. What are its advantages?

1077


What is the use of ?: Operator?

1137


where are auto variables stored? What are the characteristics of an auto variable?

1067


How can I implement a delay, or time a users response, with sub-second resolution?

1072


What is pragma in c?

1202


Do pointers need to be initialized?

1074


Is c weakly typed?

1019


write a program to concatenation the string using switch case?

2095


Can you tell me how to check whether a linked list is circular?

1406


in programming languages a statement or part of a statement that specifies several different execution sequences a) constructs b) distructs c) executes d) none

1092


What is the difference between far and near ?

1191