In the book I am reading at the moment (C++ Complete Reference from Herbert Schildt), it says that no array allocated using new can have an initializer.
Can't I initialize a dynamically allocated array using new? If not whats the reason for it?
In the book I am reading at the moment (C++ Complete Reference from Herbert Schildt), it says that no array allocated using new can have an initializer.
Can't I initialize a dynamically allocated array using new? If not whats the reason for it?