Question
Easy

In context of C++, which of the following is invalid statement?

1
Friend function of class is not considered a member function of the class.
2
Member function of a class can be defined outside the class.
3
Static data member of class can be accessed only by static member function of the class.
4
Static data member is initialized with a zero only.
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Object-Oriented Programming (C++)
Topic: Class & Object in C++
Correct Answer
Option C
Explanation

Read More