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