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  Kripto para vergi ne kadar olur?

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  Did crypto get hacked today?

Leave a Reply

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