首页 > 其他 > 详细

the struct of c lauguage test code

时间:2018-11-09 10:30:08      阅读:159      评论:0      收藏:0      [点我收藏+]
#include <stdio.h>


typedef struct i
{
    int a;
    char b;
    double c;
 
}u;

int main()
{  u j;                    //the struct define 1.
   struct i k;          //the struct define 1.
    j.a=1;
    k.b=3;
 
   printf("%d\n",j.a);
   printf("%d\n",k.b );

 /* the end of run is 1and 3           */

 

 

 

 

 

the struct of c lauguage test code

原文:https://www.cnblogs.com/lindar1/p/9933456.html

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!