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
How can I change the size of the dynamically allocated array?
What is clrscr in c?
Explain union.
"C" language developed by "Dennis Ritchie" at AT & T. his remarks are a) too general, too abstract b) could deal with only specific problems c) lost generality of BCPL and B restored d) no remarks
How can I open files mentioned on the command line, and parse option flags?
Disadvantages of C language.
Is it possible to pass an entire structure to functions?
what is event driven software and what is procedural driven software?
Explain what is dynamic data structure?
Is there a built-in function in C that can be used for sorting data?
What is the difference between class and object in c?
Explain what standard functions are available to manipulate strings?
Can a variable be both constant and volatile?
Draw a diagram showing how the operating system relates to users, application programs, and the computer hardware ?
How old is c programming language?