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
- const
2. Using # define
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
3
Q
Types with Bit Width of 8
A
char
unsigned char
signed char
4
Q
Types with Bit Width of 16
A
int unsigned int signed int short int unsigned short int signed short int
5
Q
Types with Bit Width of 32
A
long int
signed long int
6
Q
Types with Bit Width of 64
A
float
double
7
Q
Types with Bit Width of 80
A
long double