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


In c#, a statement "a?b:c" means?

Answers were Sorted based on User's Feedback



In c#, a statement "a?b:c" means?..

Answer / ram

1.1 In C#, a statement “a ? b : c” means
A) If a is true, returns the value of b, otherwise c
B) If b is true, returns the value of a, otherwise c
C) If a is true, returns the value of c, otherwise b
D) If c is true, returns the value of b, otherwise a

1.2 In C#, a statement “a ?? b” means
A) If a is null and b is null, returns a
B) If a is null, returns a, otherwise returns b
C) If a is null, returns b, otherwise returns a
D) None of the above

Is This Answer Correct ?    11 Yes 4 No

In c#, a statement "a?b:c" means?..

Answer / helper

a = answer b if not null else c

Is This Answer Correct ?    2 Yes 7 No

Post New Answer

More IIT JEE Interview Questions

A constant voltage is applied between two ends of a metallic wire. If the length is halved and the radius of the wire doubled, the rate of heat developed in the wire will be:

0 Answers  


int x=10,y=6 so guess output of x++/y

2 Answers   Satyam,


can u make this program simpler

0 Answers  


Write a C++ program using user defined functions to reverse every word of a string: eg:My name is should output yM eman si

1 Answers  


sir, i need rrb section engineer(mechanicak) solved paper- 2002 to 2008. my email id ashok_charania@yahoo.co.in

1 Answers  


what is the measuring principle of o2&co

0 Answers  


Find Square root(2+Sqrt(2+Sqrt(2........

3 Answers  


I wrote letters to four different people and wrote their addresses on four envelopes. But while inserting each letter into an envelope. I was careless. Either I put three letters in right envelopes, or I put two letters in right envelopes or I put one letter in wrong envelope, what did I do?

1 Answers   Patni,


who is the current cheif of army staff

0 Answers  


what if terrorist attack sastra university..will nikil saves the university or not..

0 Answers   Microsoft,


ARE YU MAD FOR IIT JEE?

1 Answers   IIT,


what is the colour of dry silica

1 Answers  


Categories