 Having dynamically allocated an array , can I change its size? Having dynamically allocated an array , can I change its size? Yes. This is exactly what realloc is for. Given a region of malloced memory its size can be changed using code like: dynarray = realloc(dynarray, 00 * sizeof(int)); Note that realloc may not always be able to enlarge memory regions in-pl