Hello

Is there any way to dynamically change the size of an array?

For example -

Code:
unsigned char result[] = {0x01, 0x01}

// do stuff with result

// now I need to resize result so it can store three bytes, e.g. {0x01, 0x01, 0x01}
Can this be done?

Thanks!