Segosa
public cpp v1 · immutable// could you tell me what sizeof each string is, in each case?char str1[50]sizeof(str1) = ?char str3[50];strcpy(str3,"hello");sizeof(str3) = ?char *str3str3 = "TEST";sizeof(str3) = ?char *str4 = new char[50];sizeof(str4) = ?char *str5;str5=(char*)malloc(50);sizeof(str5) = ?