typedef static int 错误

 

#include<stdio.h>
int main()
{
typedef static int *i;
int j;
i a = &j;
printf("%d", *a);
return 0;
}

 

Explanation: Compiler Error -> Multiple Storage classes for a.
In C, typedef is considered as a storage class.

posted @ 2021-10-05 15:29  xmydis  阅读(50)  评论(0)    收藏  举报