Question
Easy
In C++, which of the following operator cannot be overloaded ?
1
^
2
==
3
. [dot]
4
!
Question Details
Time to Solve: 12
Exam: HTET
Level/Paper: Level 3
Chapter: Object-Oriented Programming (C++)
Topic: OOP Concepts
Correct Answer
Option C
Explanation
The correct option is (3): The operator that cannot be overloaded in C++ is the member selection operator, denoted by the dot symbol (.). This rule is in place to preserve the fundamental integrity and built-in meaning of C++'s object model and syntax. The dot operator is crucial for accessing the actual members (variables or functions) of a class object, and allowing its behavior to be modified could lead to…Read More
Similar Questions from HTET Exam - Level 3 - Year 2018
Question 1
Easy
Source :
HTET 2018
Consider a relation R(A, B, C). Which of the following statement is not true according to inference rules for functional dependencies ?
Chapter :
Database Management System (DBMS) & SQL
Topic :
Database Concepts
Question 2
Easy
Source :
HTET 2018
In HTML Version-5, the _______ declaration tag is used by the web browser to understand the version of the HTML:
Chapter :
Web Designing using HTML
Topic :
HTML Basics
Question 3
Easy
Source :
HTET 2018
In context C++, the process of individually copying each member of an object to the corresponding member of another object of the same class is…
Chapter :
Object-Oriented Programming (C++)
Topic :
OOP Concepts
Question 4
Easy
Source :
HTET 2018
Choose most appropriate option considering that gp and ip are declared as void * and int * respectively in C++:
Chapter :
Python Programming Fundamentals
Topic :
Operators & Expressions