char* c = new char[1];
c = { 128 };
When I using Qt
debugger to display the contains of c
, it shows 128
.
So tried another way:
c = 128;
also shows 128
in the debugger.
What happens in memory when assigning a value which bigger than the maximum range.