Do you need typedef for 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 .

Sizin İçin Seçtik  Cambly öğretmenleri ne kadar kazanıyor?

Leave a Reply

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

Do you need typedef for 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 .

Sizin İçin Seçtik  Can we use string in structure in C?

Leave a Reply

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