Identifying the parts of this typedef struct in C?
- by Tommy
Please help me identify the parts of this typdef struct and what each part does and how it can be used:
typedef struct my_struct
{
int a;
int b;
int c;
} struct_int, *p_s;
struct_int struct_array[5];
my_struct is the...?
struct_int is the...?
*p_s is the...and can be used to point to what?
struct_array is the...?
Also, when creating the array of structs, why do we use struct_int instead of my_struct ?
Thank You!