Data types

April 13, 2019 · Team EasyExamNotes · 1 min read (est.) · 0 comments

Share on WhatsApp

Primitive datatypes:

Data types that are defined by system are called primitive data types.

For example:
int, float, char, double, bool, etc.

The number of bits allocated for each primitive data type depends on the programming languages, the compiler and the operating system.

For example:
For example, “int” may take 2 bytes for 16 bits system.
It may takes 4 bytes for 32 bits system.

Discussion

Ask a question, share your thoughts or report an error.

Sign in to participate in the discussion.

Join the discussion