why I declare the dynamic array in my sublime on my Mac it shows an error stating expected ; at the end of the statement but when I tried the code on an online compiler it worked fine kindly look into it .
my code Is :-https://ide.codingblocks.com/s/420028