The correct answer is: C. ought to

The modal auxiliary verb "ought to" is used to express obligation or duty. In this sentence, the speaker is saying that the man sometimes felt obligated to work late into the night, even though he knew it would make him tired the next day.

The other options are not as appropriate in this context. "Could" is used to express ability or possibility. "Used to" is used to talk about past habits or repeated actions. "Would be" is used to talk about hypothetical situations or future events.

Here are some examples of how "ought to" can be used in other sentences:

  • You ought to study for your test.
  • You ought to call your mother.
  • You ought to apologize to your friend.

I hope this helps!