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 short circuit logical evaluation?



What is short circuit logical evaluation?..

Answer / amitabh dubey

Consider This
int x = 8;

if((x == 8) || (y == 12))

Since first expression (x == 8) evaluates to true and it is
seperated by || (or operator) by second expression in the
if statment, c# compiler will short-circuit the evaluation,
and the second statement will never be evaluated.

Is This Answer Correct ?    6 Yes 0 No

Post New Answer

More C Sharp Interview Questions

About Virtual functions and their use ?

13 Answers   MBITS, MMTS,


What is the difference between system.string and system.text.stringbuilder classes?

0 Answers  


What is xml serialization in c#?

0 Answers  


What does assert() do?

2 Answers  


what are the differences between a class and structure

0 Answers   Cognizant,


How Do You Convert A Value-type To A Reference-type?

0 Answers   Siebel Systems,


What is clr namespace?

0 Answers  


Is c# different than c++?

0 Answers  


What is the difference between const and readonly in c#.net?

0 Answers  


Why c# is called type safe language?

0 Answers  


Is it possible to nest cfml conditional tags?

0 Answers   HCL,


What is c# best for?

0 Answers  


Categories