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”;




No comments:

Post a Comment

Please do not any spam link in Comment Box