What imperfections of the code?
Thanks!Code:void MyClass(int a) { int *x = new int[a]; int *y = new int[a]; Bar(x, y); delete [] x; delete [] y; }
What imperfections of the code?
Thanks!Code:void MyClass(int a) { int *x = new int[a]; int *y = new int[a]; Bar(x, y); delete [] x; delete [] y; }