What is the space complexity of searching in a heap?

(a) O(logn)

(b) O(n)

(c) O(1)

(d) O(nlogn)

This interesting question is from Binary Heap topic in portion Heap of Data Structures & Algorithms I

I had been asked this question in an interview for internship.