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

What are the important dates for JEE Main 2018 Exam?

0 Answers  


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  


The book "cricket my style" is written by 1. Sunil gavaskar 2. Sachin tendulkar 3. Kapil dev 4. K. Srikant

6 Answers   IBM,


hi, this is samba. i completed my B.Tech and i want to complete PG in IIT so give me the exam tips...?

0 Answers  


1.why there is 365 or 366 days in a year.? 2.and also why there is 30 days in a month? 3. and 23 hours 56 minutes 4 second in a day ? 4 . why there is 28 or 29 days in February?

0 Answers  


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

2 Answers   NIELIT,


WHAT DO U THINK ABOUT INDO-AFGANISTAN RELATIONS?

0 Answers   Infosys,


can u make this program simpler

0 Answers  


what is the measuring principle of o2&co

0 Answers  


What is the qualification/illegblity And When fillup forms

1 Answers  


canu sent me IIT entrance question for all subject

0 Answers  


4 persons K L M N are initially at 4 corners of a square of side d. each person starts movin with uniform speed v such that K always moves directly towards L, L towards M, M towards N, and N towards K, at what time will they meet???

3 Answers  


Categories