We know that static storage class for a variable is defined for each function and initialisation is done once for such variables in the function.
So every time count gets added by the argument "a" which is supplied to the function "add(int a)" which is done till a becomes 4.
So final value of count = 0 + 1 + 2 + 3 + 4
= 10
Hence A) should be the correct option.