Can we use string in structure in C?

Assigning Values to Strings Arrays and strings are second-class citizens in C; they do not support the assignment operator once it is declared . For example, char c[100]; c = “C programming”; // Error! array type is not assignable.

Sizin İçin Seçtik  What does struct mean in C++?

Leave a Reply

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

Can we use string in structure in C?

Assigning Values to Strings Arrays and strings are second-class citizens in C; they do not support the assignment operator once it is declared . For example, char c[100]; c = “C programming”; // Error! array type is not assignable.

Sizin İçin Seçtik  Will gala keep increasing?

Leave a Reply

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