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...

int a=2,b=3,c=4;
printf("a=%d,b=%d\n",a,b,c);
what is the o/p?

Answer Posted / srinivas

a=2,b=3



(for "c" variable no conversion char is there so it prints
only a&b values)

Is This Answer Correct ?    4 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

explain how do you use macro?

1209


Can I use base-2 constants (something like 0b101010)? Is there a printf format for binary?

1064


What is difference between structure and union?

1191


What is wrong with this code?

1245


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

1153


What is the difference between text files and binary files?

1400


Explain data types & how many data types supported by c?

1137


Explain what is the use of a semicolon (;) at the end of every program statement?

1262


How can I insert or delete a line (or record) in the middle of a file?

1070


What are # preprocessor operator in c?

1172


Which built-in library function can be used to match a patter from the string?

1350


When should structures be passed by values or by references?

1086


What are run-time errors?

1179


hai iam working in sap sd module for one year and working in lumax ind ltd in desp department but my problem is i have done m.b.a in hr/marketing and working sap sd there is any combination it. can you give right solution of my problem. and what can i do?

2184


What are formal parameters?

1175