Structures & Arrays
Description of structures and arrays
Structures
Defining and Initializing a Struct
? {
struct Point {
int x;
int y;
};
struct Point local = {0n31, 0n32};
printf("%d %d\n", local.x, local.y);
}31 32Accessing and Modifying Struct Members
Pointers to Structs (Arrow Operator)
Nested Structs
Arrays
Initializing Array
Array Assignment
Reading Array Elements
Multidimensional Array
Last updated