1)which of following operator can't be overloaded.
a)== b)++ c)?! d)<=
Answers were Sorted based on User's Feedback
Answer / 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 |
define c
Will Macros support multiple arguments ?
when will be evaluated as true/ if(x==x==x) a) x=1; b) x=0; c) x=-1; d) none
Given a single Linked list with lakhs of nodes and length unknown how do you optimally delete the nth element from the list?
What is your favorite subject?
1 Answers Ericsson, Invendis, Tech Mahindra,
How can I invoke another program or command and trap its output?
What is the most efficient way to count the number of bits which are set in a value?
the process of defining something in terms of itself is called (or) in C it is possible for the functions to call themselves. A function called a) nested function b) void function c) recursive function d) indifinite function
Why clrscr is used after variable declaration?
How can I access memory located at a certain address?
what is the size of an integer variable?
Explain how do you override a defined macro?