Q. What is the correct syntax of accessing a static member of a class in C++?
Code:Example class:
class A
{
public:
static int value;
}
β
Correct Answer: (A)
A::value
Example class:
class A
{
public:
static int value;
}
You must be Logged in to update hint/solution