Computer Science, asked by gauravkr7117, 1 year ago

Differentiate between the fundamental and derive data types.explain it

Answers

Answered by anushka131
3
Fundamental datatypes: These data types are those that are not composed of other data types.
These are of 5 types:
1.int data type(for integers).
2.char data type(for characters).
3.float data type(for floating point numbers).
4.double data type(for double precision floating-point numbers).
5.void data type(for empty set of values and non-returning functions).


Derived data types: From fundamental types other types can be derived by using the declaration operators.
These are of 5 types:
1.Arrays.
2.Functions.
3.Pointers.
4.References.
5.Constants.
Similar questions