English definition of “of course”
YES › used to say 'yes' and emphasize your answer: 'Can you help me?' 'Of course!'
OBVIOUS › used to show that what you are saying is obvious or already known: The rain meant, of course, that the match was cancelled. Of course, the Olympics are not just about money.
of course not › used to say 'no' and emphasize your answer: 'Do you mind if I borrow your pen?' 'Of course not.'