#include<stdio.h> int main() { char *s="hello"; *(s+2)='a'; printf("%s",s); return 0; }
char *s="hello";
char* s
char* s = new char[sizeof("hello")];
strcpy(s, "hello");
char s[] ="hello";
Comment