Data Types | Occupied in RAM | char int float double |
1byte 2bytes 4bytes 8bytes |
---|
Data Types | Occupied in RAM | unsigned char short int unsigned short int unsigned int long int unsigned long int long double |
1byte 1byte 1byte 2bytes 4bytes 4bytes 10bytes |
---|
Data Type | Format | Meaning |
---|---|---|
|
%d %u %o %x |
Respects a decimal integer value. Respects an unsigned integer value. Respect an unsigned octal value. Respect an unsigned hexadecimal value. |
|
%f %e |
Represents a floating point value. A floating point value in decimal or exponential form. |
| %c %s | Represents a single character value. Represents a strings of value of characters. |
Note : %hd, %ld, %lf are used for short int, long int and long double respectively.
Character Constant | Meaning |
---|---|
\n | Move to new line |
\r | Carriage return (Enter) |
\t | Horizontal tab |
\v | Vertical tab |
\\ | Print back slash |
\? | Print qustion mark |
\' | print singel quote |
\" | print double quote |
\0 | Null character |
We Are Currently Working On Our Android Application Development and We already have two YouTube channels their name is CodeX or NightHawk. CodeX is for programming related videos and NightHawk is for online game streaming so please supporting us and Subscribe to our channels, Thank you