, C . , C ; . , , , , . .
, , , . , int * char[10]. , " ". C , , , typedef.
C ... , int * short * , int * int * . struct foo { int x; } struct bar { int x; } , , . struct foo * struct foo * , . , , struct . , C.
, . C . ( , , http://www.csd.uwo.ca/~moreno//CS447/Lectures/TypeChecking.html/node3.html) . , , .
:
int x;
int y;
x y, . :
int *x;
int *y;
x y , . :
int *x, *y;
xand are ynot considered equivalent in the lower case name equivalence scheme, as this declaration is considered simply a reduction of the previous declaration. Ada is a well-known language using a strict equivalent name.
source
share