C
chandanlinster
hello everybody,
consider the following statement,
char *s = "someString";
Does the above statement cause "someString" to be alloted a constant
memory space. What I mean is can't we manipulate "someString" using
statements like
s[0] = 'a';
consider the following statement,
char *s = "someString";
Does the above statement cause "someString" to be alloted a constant
memory space. What I mean is can't we manipulate "someString" using
statements like
s[0] = 'a';