COMPUTER SCIENCE AND ENGINEERING
DATA STRUCTURES
Question
[CLICK ON ANY CHOICE TO KNOW THE RIGHT ANSWER]
|
|
derived
|
|
primary
|
|
user defined
|
|
none of above
|
Detailed explanation-1: -Structures, Unions, Arrays, and Pointers are the derived data types. It uses Character in the form of char, Unsigned char, Signed char, etc., for the characters present in the Fundamental Data Type. The Derived Data Types make use of pointers for storing the address of the available variables.
Detailed explanation-2: -Pointers. The pointers are also derived data types in the C language. The size that a pointer takes up in the memory is always pretty much fixed. Still, the type of pointer that we get depends entirely on the type of that element for which it stores the address.
Detailed explanation-3: -A pointer is a variable that stores the memory address of another variable as its value. A pointer variable points to a data type (like int ) of the same type, and is created with the * operator.
Detailed explanation-4: -Derived data types are those that are defined in terms of other data types, called base types. Derived types may have attributes, and may have element or mixed content. Instances of derived types can contain any well-formed XML that is valid according to their data type definition. They may be built-in or user-derived.
Detailed explanation-5: -Derived Data Types in C++ Data types that are derived from fundamental data types are called derived data types. These are of four types in C++ namely, Function, Array, Pointer and Reference.