Container design

what is the use of new??
arr=new int [ms]

hi @Ambuj-Singh-514796906079795, new is used for dynamic memory allocation . you might need to watch a lecture on dynamic memory allocation before preceeding