编辑代码

#include <stdio.h>
#include <string.h>

typedef struct conference_info_member{
    short number;	//成员号码
    char has_invite; 	//是否被邀请 0 正在会议 1 正在被邀请
	char has_video;	//是否视频会议
}conference_info_member;

void swap_v1(int* val_1, int* val_2)
{
    int temp = *val_1;
    *val_1 = *val_2;
    *val_2 = *val_1;
}

conference_info_member info[60] = {0};
int main () {
    //JSRUN引擎2.0,支持多达30种语言在线运行,全仿真在线交互输入输出。 

    int x,y;
 //   scanf("%d%d",&x,&y);
 //   printf("x = %d,y = %d\n",x,y);
 //   swap_v1(&x,&y);
 //   printf("after swap:\nx = %d,y = %d\n",x,y);
    printf("the size of info is : %ld\n",sizeof(conference_info_member));
    return 0;
}