* p = (int*) malloc (size * sizeof (int));
    
    Run

translated to nim:
    
    
     p = cast[ptr cint](alloc(size * sizeof(cint)))
    
    Run

Reply via email to