Tag Archives: CPP-Output

Output of C++ Program | Set 19

Predict the output below program Explanation:- It is based on fact that how LOGICAL – OR and LOGICAL-AND work. Note that Compiler reads OR and AND operators from left to right. Let us take the following cases into consideration:- Output: 1 2 1 Once compiler detects “true” on the LEFT of logical OR, IT IS… Read More »