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 do you view the path?
What is include directive in c?
What is a stream water?
c programs are converted into machine language with the help of a) an interpreter b) a compiler c) an operatinf system d) none of the above
What is difference between constant pointer and constant variable?
Describe how arrays can be passed to a user defined function
What are static variables in c?
Why is C language being considered a middle level language?
What does the file stdio.h contain?
Why does everyone say not to use gets?
any restrictions have on the number of 'return' statements that may be present in a function. a) no restriction b) only 2 return statements c) only 1 return statements d) none of the above
Write a program to print ASCII code for a given digit.
What are the 4 types of organizational structures?
How many data structures are there in c?
What is void c?