C++ Programming MCQ Test 2 : Question 7

What is the correct syntax of accessing a static member of a class in C++ ?
class Sample {
public:
    static int val;
}



sec