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
What is as keyword in c#?
What is serialization of data?
Which namespaces are necessary to create a localized application?
What is the difference between malloc () and new?
Explain About a class access specifiers and method access specifiers.
What are the commonly used i/o classes?
What is the benefit of using interface in c#?
What is a console application in c#?
windows c# using datagridview in edit form sql server
What is Implementation inheritance
In a memory when you Box and Unbox a value-type what happens?
can you allow a class to be inherited, but prevent the method from being over-ridden?
What is .cs file in c#?
Can fields inside a class be virtual?
Which class does the remote object has to inherit?