Which one of the following is NOT a default promotion?
1) If either operand of an arithmetic operator is unsigned long, the other operand is promoted to unsigned long.
2) If either operand of an arithmetic operator is unsigned int, the other operand is promoted to unsigned int.
3) If either operand of an arithmetic operator is int, the other operand is promoted to int.
4) If either operand of an arithmetic operator is double, the other operand is promoted to double.
5) If either operand of an arithmetic operator is short, the other operand is promoted to short.
-
Interview Candidate
- Mar 1st, 2007
- 1
- 4931
Showing Answers 1 - 1 of 1 Answers
Related Answered Questions
Related Open Questions
Which one of the following is NOT a default promotion?
2) If either operand of an arithmetic operator is unsigned int, the other operand is promoted to unsigned int.
3) If either operand of an arithmetic operator is int, the other operand is promoted to int.
4) If either operand of an arithmetic operator is double, the other operand is promoted to double.
5) If either operand of an arithmetic operator is short, the other operand is promoted to short.
Related Answered Questions
Related Open Questions