There is the following f-I.
int main() { bool arr[6]; for (int i = 0; i < 6; i++) { cout << &arr[i] << " "; } cout << endl; char arr2[6]; for (int i = 0; i < 6; i++) { cout << &arr2[i] << " "; } cout << endl; return 0; }
Why, when an array of char displays incomprehensible characters, and not hexadecimal numbers?