# include <stdio.h> # define HEHE struct ss { int a; int b; int c; }; void main(void) { HEHE aa = {10, 20, 30}; printf("%d, %d, %d\n", aa.a , aa.b , aa.c ); }
#include<stdio.h> typedef struct { int a; int b; int c; } t; void main() { t str={10,20,30}; printf("%d, %d, %d\n", str.a , str.b,str.c); }