please help me in doing my computer project.it's urgent please Question no. 5th
Attachments:

Answers
Answered by
1
So here's your answer! Hope it helps you :)
The Primitive data type is predefined type of data, which are supported by the programming language.
For example, integer, character , and string are all primitive data types.
The Referenced data type is based on a class rather than primitive data types like int, float. The class can be either pre-defined or you can define it.
For example, if the object is assigned to a variable, the variable is actually assigned a reference to the object, not the object itself. This reference is the address of the memory location where the object is stored (objects are stored in the heap memory).
The Composite data type is any data type which can be constructed in a program using the programming language's primitive data types and other composite types.
For example, In C++ code, the typedef is not needed because types defined using struct are already part of the regular namespace, so the type can be referred to as either struct Account or simply Account.
The Primitive data type is predefined type of data, which are supported by the programming language.
For example, integer, character , and string are all primitive data types.
The Referenced data type is based on a class rather than primitive data types like int, float. The class can be either pre-defined or you can define it.
For example, if the object is assigned to a variable, the variable is actually assigned a reference to the object, not the object itself. This reference is the address of the memory location where the object is stored (objects are stored in the heap memory).
The Composite data type is any data type which can be constructed in a program using the programming language's primitive data types and other composite types.
For example, In C++ code, the typedef is not needed because types defined using struct are already part of the regular namespace, so the type can be referred to as either struct Account or simply Account.
rashi61:
thanq
Similar questions