Anonymous

Explain The Fundamental Data Types In C Programming?

2

2 Answers

Wade Arnold Profile
Wade Arnold answered
All C Compilers accept the following fundamental data types

    
 
 
  1.

 
 
  Integer

 
 
  int

 
 
 
 
  2.

 
 
  Character

 
 
  char

 
 
 
 
  3.

 
 
  Floating Point

 
 
  float

 
 
 
 
  4.

 
 
  Double precision floating
point

 
 
  double

 
 
 
 
  5.

 
 
  Void

 
 
  void

 
 
    

The size and range of each data type is given in the table below

    
 
 
  DATA TYPE

 
 
  RANGE OF VALUES

 
 
 
 
  char

 
 
  -128 to 127

 
 
 
 
  Int

 
 
  -32768 to +32767

 
 
 
 
  float

 
 
  3.4 e-38 to 3.4 e+38

 
 
 
 
  double

 
 
  1.7 e-308 to 1.7 e+308

Answer Question

Anonymous