fork download
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. int main(void) {
  4. int n;
  5. int *a;
  6. a=(int*)malloc(sizeof(int)*n);
  7. if(a==NULL){
  8. printf("ERROR\n");
  9. return 0;
  10. }
  11. return 0;
  12. }
  13.  
Success #stdin #stdout 0.01s 5244KB
stdin
Standard input is empty
stdout
Standard output is empty