char *s1((char *)("foo")); //1 char s2[] = "foo"; //2 char *s3 = (char *) new char[10]; //3 s1[2] = 'a'; //4 *s2 = 'b'; //5 3[s3] = 'c'; //6
Login in to like
Login in to comment
or Read more about C++ Quizzes
Login in to like
Login in to comment