Hello,
I understand at the first cout i get the address of the third element
but i dont understand what is this big number i get on the second cout.
Code:#include <iostream> using namespace std; int main() { char buf[5]="abcd"; cout << ((unsigned int*)&buf[2]) << endl; // 003AF6F5 the address cout << *((unsigned int*)&buf[2]) << endl; // 2281727075 ? return 0; }