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
Which header file is essential for using strcmp function?
what value is returned to operating system after program execution?
What are qualifiers?
What is #include in c?
Explain what is a stream?
we called a function and passed something do it we have always passed the "values" of variables to the called function. such functions calles are called a) calls by reference b) calls by value c) calls by zero d) none of the above
Why is c so powerful?
What are the ways to a null pointer can use in c programming language?
Where we use clrscr in c?
What is the difference between void main and main in c?
What does the error 'Null Pointer Assignment' mean and what causes this error?
What is the significance of scope resolution operator?
Explain can static variables be declared in a header file?
What does c mean in standard form?
How many data structures are there in c?