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

Explain argument and its types.

1011


What is anagram in c?

883


Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.

3650


general for is %wd,f-d; in this system "w" means a) 'w' represent total width of digits b) 'w' represent width which includes the digits before,after decimal place and the decimal point c) 'w' represent width which includes the digits before only d) 'w' represent width after decimal place only

1040


Why do we use main function?

1124


What are the different types of pointers used in c language?

1010


Which header file should you include if you are to develop a function which can accept variable number of arguments?

1339


Explain what are preprocessor directives?

1028


How can you tell whether a program was compiled using c versus c++?

1059


What is a program flowchart and explain how does it help in writing a program?

1251


When a c file is executed there are many files that are automatically opened what are they files?

1067


Difference between macros and inline functions? Can a function be forced as inline?

1223


Explain what is the benefit of using enum to declare a constant?

1037


Write a program to generate random numbers in c?

1063


Explain logical errors? Compare with syntax errors.

1027