const char *bool_names[] = {"false", "true"}; printf("%s", bool_names[b]);