<<< C/C++ memory access, cont. | Index | C/C++ memory access demo v.1 >>> |
Note that using syntax without an asterisk
MEMORY[ (char*)location ] // correct syntax MEMORY[ (char)location ] // incorrect syntax
cannot not be applied, because (char) already has a meaning of the data type cast operator:
int x = 65; char c = (char)x; // (char) explicitly converts x to char
<<< C/C++ memory access, cont. | Index | C/C++ memory access demo v.1 >>> |