Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

string once declared

//Arrays and strings are second-class citizens in C; 
//they do not support the assignment operator once it is declared.
char c[100];
c = "C programming";  // Error! array type is not assignable.
Source by www.programiz.com #
 
PREVIOUS NEXT
Tagged: #string #declared
ADD COMMENT
Topic
Name
7+5 =