Ukuran array pointer

// If you have only a pointer, the answer is no.

std::size_t getsize(int* parray) {
   return 0; // sorry, no way to tell!
}
Fancy Flatworm