Data Types in C Language

Datatypes in C programming language are used to specify which type of value is stored in a variable. Different data types store different types of values and memory allocation size is also different.

In C programming language, datatypes are classified as follows …

  • Primary Datatypes (Basic Datatypes or Predefined Datatypes)
  • Derived Datatypes (Secondary Datatypes OR User defined Datatypes)
  • Enumeration Datatypes
  • Void Datatype

 

Different data types variables are declared as follows:

        int age (uses 2 bytes in the memory)
        float mrp (uses 4 bytes in the memory).

// Size and Range of different Data types

Video/ C Introduction

Watch video in full size
Wordpress Social Share Plugin powered by Ultimatelysocial