What is the difference between struct and typedef struct in C?

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 .

Sizin İçin Seçtik  What does Appify do?

Leave a Reply

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