Showing posts with label 4.1.3 Character Types. Show all posts
Showing posts with label 4.1.3 Character Types. Show all posts

Monday, August 17, 2020

4.1.3 Character Types

  • Character types are used to store a character. 
  • These are divided into 2 categories.

Data Type

Size (bytes)

Range

char

1

-128 to 127

unsigned char

1

0 to 255


Example :-


/* A character type variable */ char bestlanguage = “C”;