Data Types Flashcards

1
Q

Basic Types

A

Arithmetic types and are further classified into integer and floating-point types

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

Enumerated types

A

Used to define variables that can only assign certain discrete integer values

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

void

A

No value is available

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

Derived types

A

Pointer, array, structure, union, function types

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

Aggregate types

A

Array and structure types

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

What C operator is used to yield the storage size of the object or type in bytes?

A

sizeof()

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

Function returns as void

A

void exit (int status);

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

Function arguments as void

A

int rand(void);

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

Pointers to void

A

void *malloc (size_t size);

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