C Language Exercises – Day 4
01 Given that x, y, and t are all int type variables, after executing the statement: x=y=3; t=++x||++y; the value of y is ( ) A) Undefined value B) 4 C) 3 D) 2 Answer: C Explanation: The short-circuit characteristic of || (logical OR): If the expression on the left of || is true (non-zero), … Read more