#include "stdafx.h"
int g_Con[128] = { 0 };
typedef struct tag_Info_S
{
int num1;
int num2;
}Info_S;
{
int num1;
int num2;
}Info_S;
int _tmain(int argc, _TCHAR* argv[])
{
Info_S *p = (Info_S *)g_Con;
{
Info_S *p = (Info_S *)g_Con;
p->num1 = 10;
p->num2 = 100;
p->num2 = 100;
for (int i = 0; i < 5; i++)
{
printf("g_Con[%d] = %d\n", i, g_Con[i]);
{
printf("g_Con[%d] = %d\n", i, g_Con[i]);
}
return 0;
}
结果输出:
8752

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



