2-Operators Flashcards

1
Q

+

A

Adds two operands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

*

A

Multiplies two operands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

A

Decrements integer by one

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

%

A

Remainder after integer division

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

==

A

checks if two operands are equal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

> =

A

checks if left operand is greater than or equal to the right

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

!=

A

checks if two operands are not equal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

!

A

Used to reverse the logical state of its operand

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

||

A

if any of the two operands is non zero than the condition becomes true

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

&

A

bitwise AND

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

=

A

Assigns values from the right side operands to the left side

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

/=

A

Divides the left operand with the right and assigns the result to the left operand

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
13
Q

sizeof()

A

Returns the size of the variable

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

?:

A

Conditional expression; If condition is true? than value X: otherwise value Y

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

-=

A

Subtracts the right operand from the left and assigns the result to the left operand

How well did you know this?
1
Not at all
2
3
4
5
Perfectly