What is difference between struct and typedef struct?

Basically struct is used to define a structure. But when we want to use it we have to use the struct keyword in C. If we use the typedef keyword, then a new name, we can use the struct by that name, without writing the struct keyword .28 Mar 2019

Sizin İçin Seçtik  Why do we use typedef in structure in C?

Leave a Reply

Your email address will not be published. Required fields are marked *