一路c++题目(指针)
一道c++题目(指针)
题目:设置地址为0x67a9的整型变量的值为0xaa66
解答:
int *ptr;
ptr = (int *)0x67a9;
*ptr = 0xaa66;
版权声明:本文为博主原创文章,未经博主允许不得转载。