πŸ“Š C++
Q. Which of the following statements are correct for a static member function? 1. It can access only other static members of its class. 2. It can be called using the class name, instead of objects.
  • (A) Only 1 is correct.
  • (B) Only 2 is correct.
  • (C) Both 1 and 2 are correct.
  • (D) Both 1 and 2 are incorrect.
πŸ’¬ Discuss
βœ… Correct Answer: (C) Both 1 and 2 are correct.

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
157
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
88%
Success Rate