Pointers can be used to refer to a struct by its address . This is useful for passing structs to a function. The pointer can be dereferenced using the * operator.
Read moreWhat is a typedef pointer?
typedef is a reserved keyword in the programming languages C and C++ . It is used to create an additional name (alias) for another data type, but does not create a new type, except in the obscure case of a qualified typedef of an array type where the typedef qualifiers are transferred to the array element type.
Read moreHow do you define a pointer in a struct?
There are two ways to access the member of the structure using Structure pointer:
Read more