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

Why is void main used?

602


How do I copy files?

610


The % symbol has a special use in a printf statement. How would you place this character as part of the output on the screen?

749


What is the significance of an algorithm to C programming?

580


What is the acronym for ansi?

613






Differentiate between static and dynamic modeling.

605


What is difference between arrays and pointers?

569


Read the following data in two different files File A: aaaaaaaadddddddd bbbbbbbbeeeeeeee ccccccccffffffff File B: 11111111 22222222 33333333 By using the above files print the following output or write it in the Other file as follows aaaaaaaa11111111dddddddd bbbbbbbb22222222eeeeeeee cccccccc33333333ffffffffffff

2226


What oops means?

567


Explain what are run-time errors?

595


What are the modifiers available in c programming language?

715


What are dangling pointers in c?

627


WHAT IS THE DEFINATION OF IN TECHNOLOGY AND OFF TECHNOLOGY ?

1846


What is ## preprocessor operator in c?

602


What is the meaning of c in c language?

586