There is no such thing as "short char"
You either mean char or short int.
a char is a variable declaration that holds one character, usually 8 bits long (1 byte)
short int (or simply short) is a 16 bit (2 byte) integer
Nothing.
special character in c language are as follows~ ' ! @ # % ^ & * () _ - + = | \ {} [] : ; " <> , . ? /
char x = "C"; if(char == 'C') { } else { }
for example: unsigned char attach (unsigned char byte, unsigned char bit) { unsigned char mybyte; mybyte = byte&0x7f; if (bit) mybyte |= 0x80; return mybyte; }
Old: function (par1, par2) int par1; char *par2; {...} New: int function (int par1, char *par2) {...}
There is no defined range of values in C. The built-in types all have ranges that are defined in <stdint.h>, <limits.h> and <float.h>. These ranges are implementation-defined, they are not defined by the language or by the standard. The standard only defines minimum guarantees such that a char is always at least 8 bits long (CHAR_BIT) and that an int is at least as long as a short which is at least as long as a char.
char, short, long, float, double.
In C and C++, a char is a primitive data type with length 1 byte. It is guaranteed to represent all integers in the closed range [0:127]. As such, it is guaranteed to represent all character codes used by the language itself, hence it is called a char (short for character).
special character in c language are as follows~ ' ! @ # % ^ & * () _ - + = | \ {} [] : ; " <> , . ? /
That depends on what language you're using. In PHP for example, it would be like this: $c = chr($i); In C, it would be: char c = (char)i; in BASIC, you'd use: LET C$ = CHR$(I)
char x = "C"; if(char == 'C') { } else { }
for example: unsigned char attach (unsigned char byte, unsigned char bit) { unsigned char mybyte; mybyte = byte&0x7f; if (bit) mybyte |= 0x80; return mybyte; }
Some of them are: 1. char, short, int, long, float, double 2. pointers to these 3. arrays of these 4. arrays of pointers 5. pointers to arrays ...
Not much. Examples, that are possible in C only: char str3[3] = "ABC"; int new;
Yes.
Old: function (par1, par2) int par1; char *par2; {...} New: int function (int par1, char *par2) {...}
The C programming language has no notion of a string. The C runtime libraries interpret a string as an array of 'char' (sometimes 'unsigned char'), where a byte (char) with numerical value zero (often written as '\0' in C) denotes the end of the string. Modern variations also support modern forms of strings based on different data types (wchar, etc) in order to support more complex encodings such as Unicode. These, too, are interpretations of combinations of language features, but not a built-in part of the language.
There is no boolean in C, we usually use int/short/char to store logical values.