Is there a way to manipulate the size of an array?

There's "malloc()" but be very careful.