Char C - Character (char) Programming in C



 character (char) in c

Learn C - C tutorial - character (char) in c - C examples - C programs

Character (char)

  • The abbreviation char is character.
  • Char is used as a keyword in many programming languages, such as C++ C# and Java
  • Character is a data type that holds one character (letter, number, etc.) of data.

Sample code

#include <stdio.h>
int main()
{
    char ch='A';
    printf("%d",ch);
    return 0;
}

Output

65


View More Quick Examples


Related Searches to Char C - Character (char) Programming in C