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

What is the usage of transponders?

0 Answers   Wipro,


Can you declare the override method static while the original method is non-static?

5 Answers  


Is std :: string null terminated?

0 Answers  


How does the XmlSerializer work ?

1 Answers  


Can we change static variable value in c#?

0 Answers  


Is c# lazy thread safe?

0 Answers  


What’s the difference between System.String and System.Text.StringBuilder classes with example

2 Answers  


What is the difference between var and dynamic types in c# 4.0?

0 Answers  


Explain the difference between private and shared assembly?

0 Answers  


What are the Types of compatabilities and explain them

0 Answers   DELL,


What is a three-tier application.

0 Answers   Siebel,


How does a while loop work?

0 Answers  


Categories