📄 typedef.c
字号:
#ifdef TEST1typedef union { long l; float f;} floatlong;char func(char floatlong){ return floatlong;}#endif#ifdef TEST2typedef union { long l; float f;} floatlong;long func(float x){ typedef union { float f2; long l2; char c[4]; } floatlong; floatlong fl; fl.f2=x; return fl.l2;}#endif#ifdef TEST3typedef int I; /* IGNORE */typedef int I; /* ERROR */#endif#ifdef TEST4typedef int I; /* IGNORE */typedef char I; /* ERROR */#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -