Let X be a random variable which represents the number of times a fair coin needs to be tossed till two consecutive heads appear for the first time. The expectation of X is:
(a) 2
(b) 3
(c) 4
(d) 5