Question
Easy

Consider Column-I and Column-II in context of C++: Column-I - Column-II i. Private - a. Data type modifier ii. Sizeof - b. Visibility specifier iii. Static - c. Operator iv. Long - d. Storage class. Match of Column-I and Column-II is:

1
i-d, ii-c, iii-a, iv-b
2
i-c, ii-d, iii-b, iv-a
3
i-a, ii-d, iii-b, iv-c
4
i-b, ii-c, iii-d, iv-a
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Object-Oriented Programming (C++)
Topic: OOP Concepts
Correct Answer
Option D
Explanation

The correct option is (4): The correct matches establish the core function of each keyword or operator in C++. The term 'Private' (i) is a fundamental Object-Oriented Programming (OOP) concept, acting as a Visibility specifier (b) that controls access to class members, ensuring that they are only accessible from within the class itself. Next, 'Sizeof' (ii) is correctly identified as an Operator (c); specifically, it is a unary operator used…Read More

Consider columni and columnii - HTET Level 3 | Clear Cutoff