SyntaxFix
Write A Post
Hire A Developer
Questions
char *s1 = "Hello world"; // Points to fixed character string which is not allowed to modify char s2[] = "Hello world"; // As good as fixed array of characters in string so allowed to modify // s1[0] = 'J'; // Illegal s2[0] = 'J'; // Legal