UNIT 2 2.5 Access Modifiers Flashcards

1
Q

C has two types of modifiers that are used to control the way in which variables may be
accessed or modified. which are:

A
  1. const

2. Using # define

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

is used to alter the meaning of the base type to more precisely fit the needs of
various situation. With the exception of type void, the basic data type may have various
modifiers preceding them.

A

Modifier

Examples:

  • signed
  • unsigned
  • short
  • long
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

Types with Bit Width of 8

A

char
unsigned char
signed char

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

Types with Bit Width of 16

A
int
unsigned int
signed int
short int
unsigned short int
signed short int
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Types with Bit Width of 32

A

long int

signed long int

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

Types with Bit Width of 64

A

float

double

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

Types with Bit Width of 80

A

long double

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