which of the function operator cannot be over loaded

a) <=
b)?:
c)==
d)*

Answer Posted / muthu bharathi

There are 5 operators which cannot be overloaded. They are:

.* - class member access operator
:: - scope resolution operator
. - dot operator
?:: - conditional operator
Sizeof() - operator


answer: b

Is This Answer Correct ?    10 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is an endless loop?

1072


Why & is used in c?

956


What is dynamic dispatch in c++?

818


Why do we need arrays in c?

852


Write a program to swap two numbers without using third variable?

1088


How can I check whether a file exists? I want to warn the user if a requested input file is missing.

932


write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.

2682


Write a code to generate divisors of an integer?

850


What does int main () mean?

798


Write a C program to accept a matrix of any size. Find the frequency count of each element in the matrix and positions in which they appear in the matrix

1794


Is there a way to have non-constant case labels (i.e. Ranges or arbitrary expressions)?

866


if the area was hit by a virus and so the decrease in the population because of death was x/3 and the migration from other places increased a population by 2x then annually it had so many ppl. find our the population in the starting.

4881


How main function is called in c?

865


Explain what is a pragma?

824


What does sizeof function do?

912