Memory calculation...

 
Does someone can tell me how much bytes are needed and used from memory for ex.:
static int ArrayIntegers[3];
static double ArrayDoubles[3];
static bool ArrayBools[3];
static string ArrayStrings[3];
 
//* all with 2 characters after asign and ArrayResize ( Array... , 3 ) for all *//
As for string and double is 8 bytes, bool and int 4-bytes, but array?
What are the calculation modes for array?
And how much length of the variable name is increasing use of bytes in an array?
 
Length of the variable name has no effect on the memory footprint.
Arrays will be basic type size * length of the array.
The string type is kind of odd, the 8 bytes seem to contain a pointer to the actually memory buffer which means the overall size will be 8 bytes + the buffer size.
Assume you have already looked at MQL4 Reference - Basics - Data types?
 
Thank you. I'd put a wrong data in the up question but I've corrected it.
Reason: