The priority that c++ gives to the operators for execution is called ___________________ ?
plzz answer fast. its urgent. tomorrow is the answer
Answers
Answer:
Order Precedence
Explanation:
The priority that c++ gives to the operators for execution is called 'Order Precedence'
Top 10 precedence as follows:-
Precedence 1 - Scope resolution
Precedence 2 - Suffix/postfix increment and decrement
Precedence 3 - Prefix increment and decrement
Precedence 4 - Pointer-to-member
Precedence 5 - Multiplication, division, and remainder
Precedence 6 - Addition and subtraction
Precedence 7 - Bitwise left shift and right shift
Precedence 8 - Three-way comparison operator
Precedence 9 - relational operators ( <, >,≤,≥)
Precedence 10 - relational operators (=, ≠)
The answer is order preference.
The priority that C++ gives to the operators for execution is called order preference. The order preference in C++ is as follows:
• scope resolution
• suffix increment and decrement, function cast/call, member access
• prefix increment and decrement, unary plus/minus, logical and bitwise NOT
• pointer to member
• multiplication, division, remainder
• addition and subtraction
• bitwise left and right shifts
• bitwise AND
• bitwise XOR
• bitwise OR
• logical AND
• logical OR
• comma