MindMap Gallery C language data types and statement data types
This is a mind map about C language data types and statement data types. These types define the types of data that variables or functions can store and the operations that can be performed on these data.
Edited at 2024-02-07 15:45:09This Valentine's Day brand marketing handbook provides businesses with five practical models, covering everything from creating offline experiences to driving online engagement. Whether you're a shopping mall, restaurant, or online brand, you'll find a suitable strategy: each model includes clear objectives and industry-specific guidelines, helping brands transform traffic into real sales and lasting emotional connections during this romantic season.
This Valentine's Day map illustrates love through 30 romantic possibilities, from the vintage charm of "handwritten love letters" to the urban landscape of "rooftop sunsets," from the tactile experience of a "pottery workshop" to the leisurely moments of "wine tasting at a vineyard"—offering a unique sense of occasion for every couple. Whether it's cozy, experiential, or luxurious, love always finds the most fitting expression. May you all find the perfect atmosphere for your love story.
The ice hockey schedule for the Milano Cortina 2026 Winter Olympics, featuring preliminary rounds, quarterfinals, and medal matches for both men's and women's tournaments from February 5–22. All game times are listed in Eastern Standard Time (EST).
This Valentine's Day brand marketing handbook provides businesses with five practical models, covering everything from creating offline experiences to driving online engagement. Whether you're a shopping mall, restaurant, or online brand, you'll find a suitable strategy: each model includes clear objectives and industry-specific guidelines, helping brands transform traffic into real sales and lasting emotional connections during this romantic season.
This Valentine's Day map illustrates love through 30 romantic possibilities, from the vintage charm of "handwritten love letters" to the urban landscape of "rooftop sunsets," from the tactile experience of a "pottery workshop" to the leisurely moments of "wine tasting at a vineyard"—offering a unique sense of occasion for every couple. Whether it's cozy, experiential, or luxurious, love always finds the most fitting expression. May you all find the perfect atmosphere for your love story.
The ice hockey schedule for the Milano Cortina 2026 Winter Olympics, featuring preliminary rounds, quarterfinals, and medal matches for both men's and women's tournaments from February 5–22. All game times are listed in Eastern Standard Time (EST).
type of data
basic type
expand
constant
A quantity that cannot be changed while the program is running
variable
The amount by which its value can change
character data
Character constant
direct constant
Surrounded by single quotes, eg: 'a', '0', etc.
escape character
Begins with a backslash "\" followed by one or more characters
eg:'\\',' ','\t', etc.
character variable
Defined with char, a character variable is allocated one byte of memory
Character values are stored in variable memory units in the form of ASCII codes.
eg:char a; a='x'; Under the premise of defining variables here, a='x' and a=120 are essentially the same
String constant
A sequence of characters enclosed in double quotes. eg "Hahaha"
Note: 'a' is different from "a", "a" includes 'a' and '\0'. At the end of each string, the compiler will automatically add an end flag '\0'
Integer data
Integer constant (according to base)
decimal
Starting with 1-9
Octal
Starts with 0, eg:0123
hexadecimal
Starts with 0x or 0X
integer variable
Signed/unsigned short integer 2 bytes
There are unsigned basic integer types 4 bytes
Signed/unsigned long integer 4 bytes
Real data (floating point)
Real constant (real number or floating point number)
Decimal form
Numbers and decimal points
exponential form
eg:123e3 means 123×10 cubed
Constants that do not end with f are of type double
On the contrary, it is float type
real variable
float type
Occupies 4 bytes, 7 significant digits, exponent -37~38
double type
Occupies 8 bytes, 16 significant digits, index -307~308
Construction type
concept
A collection consisting of several data of the same or different types
Involved (discussed in detail later)
array structure union enumeration
type conversion
Conversion method
automatic conversion (Follow certain rules and the compiler system automatically completes it)
in principle
Convert a type that occupies a small number of memory bytes to a type that occupies a large amount of memory.
Change direction
from low to high
cast
(type specifier) (expression) Type specifiers must be bracketed
eg: 1. (float) a; //Convert the value of a into a real type 2. (int) (x y);//Convert the result of x y into an integer
illustrate
Both conversions are only for the needs of this operation, temporarily converting the variable data length without changing the data definition type and value.
Pointers (discussed in detail later)