These are the datatypes which are predefined by the language developers. The memory occupied by this will be fixed depending on what type of data it is.
Examples of value datatypes are:
Byte, char, bool, sbyte, short, int, float, long etc. These datatypes take only predefined memory as assigned by the language developers. It is fixed and it cannot be changed. These are stored in memory in a stack manner.
No comments:
Post a Comment