C Operators Flashcards

1
Q

+

A

Addition

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

+

A

Addition

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

-

A

Subtract

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

*

A

Multiply

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

/

A

Divide

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

%

A

Modulus

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

++

A

Increment

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

A

Decrement

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

==

A

Equal

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

!=

A

Not equal

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

>

A

Greater than

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

> =

A

Greater than equal

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

<=

A

Less than equal

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

&&

A

Logical AND

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

||

A

Logical OR

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

!

A

Logical NOT

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

? :

A

Logical ternary

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

&

A

Bitwise AND

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

|

A

Bitwise OR

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

Bitwise XOR

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

~

A

Bitwise one’s complement

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

> >

A

Bitwise shift right

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

=

A

Assignment equal

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

+=

A

Assignment plus-equal

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
25
-=
Assignment minus-equal
26
*=
Assignment multiply-equal
27
/=
Assignment divide-equal
28
%=
Assignment modulus-equal
29
<<=
Assignment shift-left-equal
30
>>=
Assignment shift-right-equal
31
&=
Assignment AND-equal
32
^=
Assignment XOR-equal
33
|=
Assignment OR-equal
34
sizeof()
Get the size of
35
[]
array subscript
36
&
The address of
37
*
The value of
38
->
Structure dereference
39
.
Structure reference
40
,
Comma
41
( )
Parenthesis
42
{ }
Braces
43
:
Colon
44
//
Single-line comment
45
/*
Multi-line comment start
46
*/
Multi-line comment end
47
-
Subtract
48
*
Multiply
49
/
Divide
50
%
Modulus
51
++
Increment
52
--
Decrement
53
==
Equality
54
!=
Not equal
55
>
Greater than
56
Less than
57
>=
Greater than equal
58
<=
Less than equal
59
&&
Logical AND
60
||
Logical OR
61
!
Logical NOT
62
? :
Logical ternary
63
&
Bitwise AND
64
|
Bitwise OR
65
^
Bitwise XOR
66
~
Bitwise one's complement
67
\\
Bitwise shift left
68
>>
Bitwise shift right
69
=
Assignment equal
70
+=
Assignment plus-equal
71
-=
Assignment minus-equal
72
*=
Assignment multiply-equal
73
/=
Assignment divide-equal
74
%=
Assignment modulus-equal
75
<<=
Assignment shift-left-equal
76
>>=
Assignment shift-right-equal
77
&=
Assignment AND-equal
78
^=
Assignment XOR-equal
79
|=
Assignment OR-equal
80
sizeof()
Get the size of
81
[]
array subscript
82
&
The address of
83
*
The value of
84
->
Structure dereference
85
.
Structure reference
86
,
Comma
87
( )
Parenthesis
88
{ }
Braces
89
:
Colon
90
//
Single-line comment
91
/*
Multi-line comment start
92
*/
Multi-line comment end