Data Types Flashcards
1
Q
Basic Types
A
Arithmetic types and are further classified into integer and floating-point types
2
Q
Enumerated types
A
Used to define variables that can only assign certain discrete integer values
3
Q
void
A
No value is available
4
Q
Derived types
A
Pointer, array, structure, union, function types
5
Q
Aggregate types
A
Array and structure types
6
Q
What C operator is used to yield the storage size of the object or type in bytes?
A
sizeof()
7
Q
Function returns as void
A
void exit (int status);
8
Q
Function arguments as void
A
int rand(void);
9
Q
Pointers to void
A
void *malloc (size_t size);