Multiple choice technology operating systems

What will be the output of "echo this || echo that && echo other"?

  1. this

  2. that

  3. this other

  4. other

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

Shell operators have precedence: || (OR) and && (AND) with equal left-to-right associativity. echo this (success) || echo that (skipped) && echo other (executed because prior succeeded). Result: 'this other'. && executes only if left side succeeded.