One advantage to being an endotherm (instead of an ectotherm) is that an endotherm

Acan generate its own body heat.
Bneeds less energy to maintain homeostasis.
Cneeds more energy to maintain homeostasis.
Dcan increase its body heat by sweating.