COMPUTER PROGRAMMING FUNDAMENTALS
PROGRAMMING LANGUAGES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
Numeric Data Types
|
|
Elementary Data Types
|
|
String Data Types
|
|
Array
|
Detailed explanation-1: -An elementary data object includes a single data value and a class of elementary data objects with a set of operations for creating and manipulating them is represented as an elementary data type. An example of elementary data types such as integer, real, character, Boolean, pointer, etc.
Detailed explanation-2: -Examples of elementary data types: integer, real, character, Boolean, enumeration, pointer.
Detailed explanation-3: -Null is a special data type which can have only one value: NULL. A variable of data type NULL is a variable that has no value assigned to it.
Detailed explanation-4: -All the other types of data types (derived and user-defined data types) are derived from these data types. Primary data types in C are of 4 types: int, char, float, and double.