Consider the following case:
int MyClass::MyMethod(char *myChar)
Am I able to get the amount of reserved space by myChar
within memory (heap and stack) ? For example, if myChar
points to the first element of an array called char myArray[10]
: By use of myChar
, can I get the amount of char
that can be stored within myArray
?