When you are defining an array of constant size, you have to use new to allocate the memory at the same time else you will face error. As per my explanation, second statement is incorrect.