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 |
Why is c still so popular?
What is c variable?
what is the difference between NULL('\0') and 0?
code for reverse alternate words from astring
Method Overloading exist in c ?
write a c program to find the sum of five entered numbers using an array named number
i=20,k=0; for(j=1;j<i;j=1+4*(i/j)) { k+=j<10?4:3; } printf("%d", k);
What are the different types of control structures in programming?
What do header files do?
What is pointers in c with example?
What is the purpose of sprintf?
What is the use of keyword VOLATILE in C?