#include #include typedef struct { float weight; char name[19]; unsigned char age; } hrec; // Yes, really, a semicolon /* This is one way typedef struct horse_record hrec; */ void print_horse(hrec hr){ printf("Name: %s\n" "Age: %d\n" "Weight: %f\n", hr.name, hr.age, hr.weight); } int main(){ hrec sam; sam.weight = 1250.2; strcpy(sam.name, "sam"); sam.age = 12; print_horse(sam); return 0; }