What is the complexity of adding an element to the heap.

(a) O(log n)

(b) O(h)

(c) O(log n) & O(h)

(d) O(n)

Asked question is from Heap topic in division Heap of Data Structures & Algorithms I

The question was posed to me during an interview.