Why does C provide two sets of operators for AND (& and &&) and two sets of operators for OR (| and ||), while MIPS doesn’t? 1. Logical operations AND and OR implement & and |, while conditional...


Why does C provide two sets of operators for AND (& and &&) and two sets of operators for OR (| and ||), while MIPS doesn’t?
1. Logical operations AND and OR implement & and |, while conditional branches implement && and ||.
2. Th e previous statement has it backwards: && and || correspond to logical operations, while & and | map to conditional branches.
3. Th ey are redundant and mean the same thing: && and || are simply inherited from the programming language B, the predecessor of C.



Jun 08, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here