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  How can I invest in 5G stock?

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  Is udemy JavaScript course good?

Leave a Reply

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