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?

Answer Posted / 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       View All Answers


Please Help Members By Posting Answers For Below Questions

What are namespaces, and how they are used?

1012


What is verbatim string literal in c#?

977


what is the syntax to inherit from a class in c#?

1021


What is boxing? Explain its functionality?

980


What do you mean by for each loop?

931


Explain how do I convert a string to an int in c#?

978


Can you inherit multiple classes in c#?

1093


What is Web.config?

1036


Is null empty or whitespace c#?

970


What are examples of desktop applications?

975


Can delegates be used as callbacks?

917


Write a program to find the angle between the hours and minutes in a clock

932


What is literal control

1029


Distinguish between array and arraylist in c#?

1030


Is and as keyword in c# net?

979