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 / suraj verma

It will return number of arguments taken
by scanf function which is two in this case
& the other value can be any garbage value.

Is This Answer Correct ?    0 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the types of type specifiers?

1034


What is && in c programming?

1164


What is time complexity c?

994


What are the main characteristics of c language describe the structure of ac program?

1211


Is a house a mass structure?

1088


Write a code to achieve inter processor communication (mutual exclusion implementation pseudo code)?

1119


Which is not valid in C a) class aClass{public:int x;}; b) /* A comment */ c) char x=12;

1071


What is default value of global variable in c?

988


Hai sir, I had planned to write the NIC scientific engineer exam , plz post the sample question......

2187


Can the sizeof operator be used to tell the size of an array passed to a function?

1114


Tell us two differences between new () and malloc ()?

1183


praagnovation

2277


Write a program to reverse a given number in c language?

1116


please can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com

1772


What is pass by reference in c?

1186