Use LEFT and RIGHT arrow keys to navigate between flashcards;
Use UP and DOWN arrow keys to flip the card;
H to show hint;
A reads text to speech;
15 Cards in this Set
- Front
- Back
What is the order of precedence?
|
Primary, unary, multiplicative, additive, shift, relational and type testing, equality, logical, conditional and finally assignment.
|
|
What are the Primary operators?
|
x.y, f(x), a[x], x++, x--, new, typeof, checked, unchecked
|
|
What are the Unary operators?
|
+, -, !, ~, ++x, --x, (T)x
|
|
What are the Multiplicative operators?
|
*, /, %
|
|
What are the Additive operators?
|
+, -
|
|
What are the Shift operators?
|
<<, >>
|
|
What are the Relational and type testing operators?
|
<, >, <=, >=, is, as
|
|
What are the Equality operators?
|
==, !=
|
|
What are the Logical operators, in order of precedence?
|
&, ^, |
|
|
What are the Conditional operators, in order of precedence?
|
&&, ||, ?:
|
|
What are the Assignment operators?
|
=, +=, -=, *=, /=, %=, &=, |=, ^=, <<=, >>=, ??
|
|
What is an operator?
|
In mathematics, an operator is a function which operates on (or modifies) another function.
|
|
What is an operand?
|
An operand is one of the inputs (arguments) of an operator in mathematics.
|
|
What operators can be overloaded?
|
These unary operators can be overloaded. +, -, !, ~, ++, --, true, false
These binary operators can be overloaded. +, -, *, /, %, &, |, ^, <<, >> The comparison operators can be overloaded . ==, !=, <, >, <=, >= The conditional logical operators cannot be overloaded, but they are evaluated using & and |, which can be overloaded. &&, || The array indexing operator cannot be overloaded, but you can define indexers. [] The cast operator cannot be overloaded, but you can define new conversion operators. () Assignment operators cannot be overloaded, but +=, for example, is evaluated using +, which can be overloaded. +=, -=, *=, /=, %=, &=, |=, ^=, <<=, >>= |
|
What operators cannot be overloaded?
|
The following operators cannot be overloaded: =, ., ?:, ->, new, is, sizeof, typeof
|