adplus-dvertising
frame-decoration

Question

In an operation involving || operator, evaluation

a.

takes place from left to right

b.

will be stopped if one of its components evaluates to true

c.

takes place from right to left

d.

both (a) and (b)

Answer: (d).both (a) and (b)

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. In an operation involving || operator, evaluation

Similar Questions

Discover Related MCQs

Q. Pick the operators that assosciate from the left

Q. Pick the operators that assosiate from the right

Q. The operators . ,  || , < , = , if arranged in the ascending order of precedence reads

Q. Pick the operators that assosiate from left to right

Q. Pick the operators whose meaning is context dependent

Q. Which of the following comments about the ++ operator are correct ?

Q. The expression 5 -2 - 3 * 5 - 2 will evaluate to 18, if

Q. The expression 4 + 6 / 3 * 2 - 2 + 7 % 3 evaluates to

Q. Choose the correct statements

Q. The statement

  int **a;

Q. The operation of a staircase switch best explains the

Q. How many keywords are there in c ?

Q. What is size of int in C ?

Q. Range of double is -1.7e-38 to 1.7e+38. (in 16 bit platform - Turbo C under DOS)

Q. Array is ______ datatype in C Programming language.

Q. Which of the following is not a logical operator?

Q. Which of the following can have different meaning in different contexts?

Q. Which of the following is not a valid declaration in C?

1. short int x;
2. signed short x;
3. short x;
4. unsigned short x;

Q. The minimum number of temporary variable needed to swap the content two variables is?

Q. The precedence of arithmetic operators is (from highest to lowest)?