Your code correctly is
printf("There once was a man named %s\n", characterName);
printf("he was %d years old\n", age);Your issue was that you did not provide the value to be printed, but the memory address of the value to be printed (see the & operator).
When you compile and run your code, the compiler even gives a warning about this.