1)which of following operator can't be overloaded.
a)== b)++ c)?! d)<=

Answer Posted / nandhini

Which operators can be overloaded?

* The following operators can be overloaded:

1. Unary operators:

+ - * & ~ ! ++ -- -> ->*
2. Binary operators:

+ - * / % ^ & | << >>
+= -= *= /= %= ^= &= |= <<= >>=
< <= > >= == != && ||
, [] ()
new new[] delete delete[]

so c option is correct

Is This Answer Correct ?    14 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which header file is essential for using strcmp function?

945


what value is returned to operating system after program execution?

1606


What are qualifiers?

617


What is #include in c?

600


Explain what is a stream?

608






we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above

637


Why is c so powerful?

687


What are the ways to a null pointer can use in c programming language?

592


Where we use clrscr in c?

708


What is the difference between void main and main in c?

626


What does the error 'Null Pointer Assignment' mean and what causes this error?

743


What is the significance of scope resolution operator?

863


Explain can static variables be declared in a header file?

682


What does c mean in standard form?

599


How many data structures are there in c?

619