In C++, what's the difference between
char *a = new char[10];
and
char *a = new char(10);
Thanks!
See Question&Answers more detail:osIn C++, what's the difference between
char *a = new char[10];
and
char *a = new char(10);
Thanks!
See Question&Answers more detail:os