#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int main() {
const int a = 11;
int* p = NULL;
p = (int*)&a;
*p = 20;
cout << a << endl;
cout << *p << endl;
return 0;
}
#define _CRT_SECURE_NO_WARNINGS
#include<iostream>
using namespace std;
int main() {
const int a = 11;
int* p = NULL;
p = (int*)&a;
*p = 20;
cout << a << endl;
cout << *p << endl;
return 0;
}
319
179
1892
1015

被折叠的 条评论
为什么被折叠?