How did Gilgamesh change during the story?

A.) he learned to love his enemies.
B.) he gave up being king in order to save Enkidu.
C.) he found a way to gain immortality by marrying Ishtar.
D.) he learned that his deeds could make his name live on.