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
Similar Questions from HTET Exam - Level 3 - Year 2019
Question 1
Easy
Source :
HTET 2019
Consider Column-1 and Column-2: Column-1 - Column-2 i. Microsoft Excel, - a. Remote Desktop Access ii. Oracle - b. Operating System, iii. Ubuntu - c.…
Chapter :
Operating Systems & Software Concepts
Topic :
Computer Software
Question 2
Easy
Source :
HTET 2019
Consider a weak entity set in DBMS. Cardinality ratio 'strong entity set: weak entity set' in their binary identifying relationship is :
Chapter :
Database Management System (DBMS) & SQL
Topic :
Database Concepts
Question 3
Easy
Source :
HTET 2019
OSI stands for:
Chapter :
Computer Networks & Internet
Topic :
Computer Network
Question 4
Easy
Source :
HTET 2019
In C++, which of the following is not a valid access specifier ?
Chapter :
Object-Oriented Programming (C++)
Topic :
Class & Object in C++