Synopsys interview question

Programming lauguage and algorithm, how to get a size flexible arryay.

Interview Answer

Anonymous

11 Mar 2016

use dynamic allocatred memory, and when it extend, reallocate the memory