What happens if non static members are used in static member function?
A. Compile time error
B. Runtime error
C. Executes fine
D. Executes if that member function is not used
Answer:A
What happens if non static members are used in static member function?
A. Compile time error B. Runtime error C. Executes fine D. Executes if that member function is not used