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

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

Is This Answer Correct ?    1 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Explain void pointer?

969


Explain function?

1033


the portion of a computer program within which the definition of the variable remains unchanged a) mode b) module c) scope d) none

999


If fflush wont work, what can I use to flush input?

1044


What are header files in c programming?

1072


What is this infamous null pointer, anyway?

987


Explain the difference between malloc() and calloc() function?

985


What is difference between structure and union in c?

921


How can I call fortran?

988


Want to know how to write a C program that connects to a MySQL server and checks if the InnoDB plug-in is installed on it. If so, your program should print the total number of disk writes by MySQL.

1983


please explain clearly about execution of c program in detail,in which stage are the printf sacnf getting into exeecutable code

2129


When should I declare a function?

1054


How was c created?

994


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

1224


How can I read/write structures from/to data files?

921