primitive types

 

  There are four primitive types:  integer types, character types,  floating point types, and boolean logic types.

 

  You can do math operations with char because char is an integer type.   See casting.  i.e 

 

int x = 1;  

char c = 2; 

int y = c + x;  works