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 |
WHAT IS LOW LEVEL LANGUAGE?
explain memory layout of a C program
what are the static variables
8 Answers HCL, iFlex, TCS, Wipro,
HOW DO YOU HANDLE EXCEPTIONS IN C?
Describe the complexity of Binary search, Quicksort and various other sorting and searching techniques..
How do I use strcmp?
i need all types of question paper releted to "c" and other language.
Write a program to find minimum between three no.s whithout using comparison operator.
#define MAX 3 main() { printf("MAX = %d \n",MAX ); #undef MAX #ifdef MAX printf("Vector Instituteā); #endif
what is an inline function?
What is the difference between void main() and int main()?
#define f(x) main() { printf("\n%d",f(2+2)); }