fork download
  1. #include <stdlib.h>
  2.  
  3. int main(int argc, char *argv[])
  4. {
  5. int *c = malloc(sizeof(int) * 10); //указатель на массив для 10 чисел
  6.  
  7. //...какие-то действия с массивом
  8.  
  9. free(c);
  10. return 0;
  11. }
Success #stdin #stdout 0s 2048KB
stdin
Standard input is empty
stdout
Standard output is empty