[En-Nut-Discussion] Problem with malloc/realloc

Nathan Moore nategoose at gmail.com
Thu Apr 26 16:00:22 CEST 2012


Markus,

By "moved" do you mean something like:

   int * ptr = malloc(sizeof(int) * 6);
   if (ptr) {
       ptr++; // <-- Is this what you mean by move?
       free(ptr);
   }


Nathan



More information about the En-Nut-Discussion mailing list