Friday 16 December 2011

47.Which of the following statements are correct about static functions?

1.Static functions can access only static data.
2.Static functions cannot call instance functions.
3.It is necessary to initialize static data.
4.Instance functions can call static functions and access static data.
5.this reference is passed to static functions.
A.1, 2, 4
B.2, 3, 5
C.3, 4
D.4, 5
E.None of these
Answer: Option A