Grammar and syntax of typedef in C language.

Posted by Summer_More_More_Tea on Stack Overflow See other posts from Stack Overflow or by Summer_More_More_Tea
Published on 2010-04-06T11:47:57Z Indexed on 2010/04/06 11:53 UTC
Read the original article Hit count: 170

Filed under:
|

Hi folks:

I have a problem with the typedef keywords in C language.

In my program, I use the following codes:

typedef int* a[10];

int main(){
 int a[10];
} 

they work well. But why there are no conflicts between a variable and a type sharing the same name a?

Regards.

© Stack Overflow or respective owner

Related posts about c

    Related posts about typedef