Can you put a string in a struct?

The answer is yes unless you are using an obsolete compiler that does not support initialization of structures with string class members.

Sizin İçin Seçtik  What is the difference between struct and typedef struct in C?

Leave a Reply

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