Multiple choice

Which of the following is NOT a derived data type?

  1. Array

  2. Function

  3. Double

  4. Reference

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

This option is correct as double is not a derived data type rather it is a fundamental data type used for double precision floating point numbers, it is used for handling floating point numbers but it is treated a distinct data type because it occupies twice as much memory as type float and stores floating point numbers with much larger range and precision, hence it is NOT a derived data type.