char

Description

A data type that takes up 1 byte of memory that stores a character value.

Example

    char sign = ' ';

Parameters

    char var = 'val';

  • var - your char variable name
  • val - the value (single character) you assign to that variable... ie: a, 4, #, etc.

Reference Home