Add demo for array with adjustable size.