int main()
{
int *array = new int[10];
std::cout << sizeof(array) / sizeof(array[0]);
delete[] array;
return 0;
}
No, it actually results in a compilation error, since #include <iostream> is not there.
2019 Jan 24, 10:27:53 PM
Login in to like
Login in to comment