Consider the operators used in C Programming given below:
A. &&
B. +=
C. >>
D. >=
E. ?:
Choose the correct order of precedence of the operators given above (higher to lower):
Pick an option to check yourself, or open the answer below.
Show answer & explanation
Correct answer: C. C, D, A, E, B
Explanation
C precedence (high to low): shift >> , then relational >= , then logical && , then conditional ?: , then assignment += . So C, D, A, E, B.More Programming Languages and Computer Graphics questions
- Consider the conditional statement if (m == 20 − 10 || n > 10). The order of execution of the following operations is A. == B. − C. || D. >…
- Which of the following is NOT true about Global Variables?
- Arrange the 2-D viewing transformation pipeline. A. Convert world coordinates to viewing coordinates B. Map viewing coordinates to normaliz…
- The entire set of parameters, including the return address, that is stored for a procedure invocation is referred to as
- Consider the following statements:int x = 10, y = 15; x = ((x == y) ? (y + x) : (y - x)); What will be the value of x after executing these…
- The major adverse side effects of scan conversion are: A. Staircase appearance B. Unequal brightness of slanted lines C. Picket fence probl…