Which of the following statements is 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
Correct Answer:
Verified
Q3: Which feature of C++ contain the concept
Q4: The main intention of using inheritance is
Q5: If particular software can be used in
Q6: Which of the following data type does
Q7: How many objects can be created from
Q9: What happens when a class with parameterized
Q10: Which of the following interface determines how
Q11: What is the difference between struct and
Q12: Predict the output of following C++ program#include<iostream>
Q13: class Test { int x;};int main(){Test t;
Unlock this Answer For Free Now!
View this answer and more for free by performing one of the following actions
Scan the QR code to install the App and get 2 free unlocks
Unlock quizzes for free by uploading documents