Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR CPP

size of pointer array

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

std::size_t getsize(int* parray) {
   return 0; // sorry, no way to tell!
}
Source by www.codeproject.com #
 
PREVIOUS NEXT
Tagged: #size #pointer #array
ADD COMMENT
Topic
Name
7+6 =