Current location - Plastic Surgery and Aesthetics Network - Plastic surgery and beauty - Addition, subtraction, multiplication and division of character types in C language
Addition, subtraction, multiplication and division of character types in C language
In C language, plastic and character variables are universal, that is, character variables are expressed in ASCII code, which are plastic and can be added, subtracted, multiplied and divided directly, but the final output should be character output, such as char a;; a = 98a++; printf("%c ",a);