Question
Name the operators that cannot be overloaded.?
There are 5 operators which cannot be overloaded. They are:

.* - class member access operator 

:: - scope resolution operator 

. - dot operator 

?:: - conditional operator 

Sizeof() - operator 

Note:- This is possible only in C++.
 

Answers



More operator Questions..
What is the purpose of . Operator?

Define scope resolution operator?

When a class member is defined outside the class, which operator can be used to associate the function definition to a particular class

Where does the server operator group share the folder?

What is the difference between pre decrement operator and post decrement operator?

Implement division (without using the divide operator, obviously).

The ++ operator is used for incrementing and the -- operator is used for decrementing.
a)True
b)False

What is the use of ?: operator?

What is a modulus operator? What are the restrictions of a modulus operator?

What are the type of operators available in SQL?

Can you please explain the difference between boolean & operator and the && operator in java programming?

Which of the following pairs of functions should not be combined to provide proper segregation of duties?

A. Tape librarian and computer operator
B. Application programming and data entry
C. Systems analyst and database administrator
D. Security administrator and quality assurance

What is the purpose of ge operator

What is an operator function? Describe the function of an operator function?

Which of the following operators is incorrect and why? ( >=, <=, <>, ==) ?

Explain unary arithmetic operator with example?

class fig2d{
int dim1, dim2;
public:
fig2d() { dim1=5; dim2=6;}
virtual void operator<<(ostream & rhs);
};
void fig2d::operator<<(ostream &rhs){
rhs <dim1<<" "<dim2<<" ";
}
class fig3d : public fig2d{
int dim3;
public:
fig3d() { dim3=7;}
virtual void operator<<(ostream &rhs);
};
void fig3d::operator<<(ostream &rhs){
fig2d::operator <<(rhs);
rhs<dim3;
}
void main(){
fig2d obj1;
fig3d obj2;
obj1 << cout;
obj2 << cout;
}

Is right-to-left or left-to-right order guaranteed for operator precedence?

What is operator in Python?

What are the benefits of operator overloading?



Search
Can you Answer!!
  • Q Can you make a constructor final in Java?
  • Q In metabolism, how enzymes act?
  • Q In the where clause what is between and in?
  • Q Describe the various methods employed in crop improvement between distant hybridisations.
  • Q How do i know that the building automation system is actually reducing my energy demand?
  • Q Typically when do you use it?
  • Q Why do you want to become a teacher?
  • Q What is the difference between Web and Internet?
  • Q What happens when a transaction fails on the publisher?
  • Q Expand RSWK
  • Q As updates to an online order entry system are processed, the updates are recorded on a transaction tape and a hard-copy transaction log. At the end of the day, the order entry files are backed up on tape. During the backup procedure, a drive malfunctions and the order entry files are lost. Which of the following are necessary to restore these files? A. The previous day's backup file and the current transaction tape B. The previous day's transaction file and the current transaction tape C. The current transaction tape and the current hard-copy transaction log D. The current hard-copy transaction log and the previous day's transaction file