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

main() { char i; for(i='A';i<='Z';i++) printf("%c",i); }

1 Answers  


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

3 Answers  


Hi all, Please mail me the syllabus for KPTCL exam for computers. mail id: is.shek@gmail.com Thanks in advance

1 Answers  


ARE YU MAD FOR IIT JEE?

1 Answers   IIT,


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

0 Answers   Microsoft,


what do mean by object oriented programming

7 Answers  


WHAT DO U THINK ABOUT INDO-AFGANISTAN RELATIONS?

0 Answers   Infosys,


What is the qualification/illegblity And When fillup forms

1 Answers  


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  


what is the measuring principle of o2&co

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  


3_3_3_3_3=31???????

1 Answers  


Categories