Consider a large project, where many types are typedef\'d, e.g.
typedef int age;
typedef int height;
and some functions gettin
As others already stated, there is no support for this in C. If you absolutely want strong type checking to happen, you could do like this:
typedef struct {int a;} age;
typedef struct {int h;} height;
void printPerson(age a, height h)
{
printf("Age %d, height %d\n", a.a, h.h);
}
age a = {30};
height h = {180};
printPerson(h, a); // will generate errors
Beware that this might have some performance impact, though.