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 can any one suggest me best useful video tutorials on c i am science graduate.please help me.u can email me to sas29@in.com
What is difference between Structure and Unions?
Explain how does flowchart help in writing a program?
Given an array of 1s and 0s arrange the 1s together and 0s together in a single scan of the array. Optimize the boundary conditions?
What is a constant?
What will the code below print when it is executed? int x = 3, y = 4; if (x = 4) y = 5; else y = 2; printf ("x=%d, y=%d ",x,y);
What happens if header file is included twice?
What are operators in c?
What is the method to save data in stack data structure type?
A character flag or control mechanism that delineates one data item from another a) variable b) constant c) delimiter d) call by reference
How can you tell whether two strings are the same?
c language interview questions & answer
Write the program that calculates and prints the average of several integers. Assume that the last value read is sentinel 9999.
What does c value mean?
What is the purpose of the statement: strcat (S2, S1)?