#include #include #include typedef enum {FALSE, TRUE} bool; typedef enum {White, Brown, Black} Colour; typedef struct { int bullets; int bulletcapacity; } Gun ; typedef struct { bool big; Colour colour; }Hat; typedef struct { bool lit; char *brand; float length; } Cigar; typedef struct { bool sash; bool squintyEyes; bool poncho; Hat *clintsHat; char* tonto; Gun *clintsGun; Cigar *clintsCigar; } ClintEastwood; Cigar* rollcigar(char* brandname) { Cigar* cancerstick=malloc(sizeof(Cigar)); cancerstick-> brand = malloc(strlen(brandname)); strcpy(brandname, cancerstick-> brand); cancerstick->lit = FALSE; cancerstick->length = 100.0; return cancerstick; } int main (void) { return 0; }