struct and typedef example in C

Here is my code!
/**
* hello.c
*/
#include <stdio.h>
 
typedef struct {
    const char *name;
    const char *species;
    int teeth;
    int age;
} fish;
 
int main(){
    fish snappy = {"Snappy", "Piranha", 69, 4};
    printf("%s\n",snappy.name);
    printf("%s\n",snappy.species);
}

In Action!