the struct of c lauguage test code

Posted lindar1

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了the struct of c lauguage test code相关的知识,希望对你有一定的参考价值。

#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 ",j.a);
   printf("%d ",k.b );

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

 

 

 

 

 



















以上是关于the struct of c lauguage test code的主要内容,如果未能解决你的问题,请参考以下文章

报错storage size of ‘act’ isn’t known当使用std=c99编译struct sigaction

C - Arrival of the General

ZOJ 2110 C - Tempter of the Bone

The qsort() function of C

C - The Battle of Chibi HDU - 5542 (树状数组+离散化)

背包专题C - The trouble of Xiaoqian hdu3591混合背包:多重背包+完全背包