fork(1) download
  1. #include<stdio.h>
  2. int main()
  3. {
  4. char *str1="abcd";
  5. char str2[]="abcd";
  6. printf("%d %d %d\n",sizeof(str1),sizeof(str2),sizeof("abcd"));\
  7. return 0;
  8. }
Success #stdin #stdout 0.02s 2724KB
stdin
Standard input is empty
stdout
4 5 5