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 convert strings to numbers in C?
What is scanf_s in c?
What is string constants?
Calculate 1*2*3*____*n using recursive function??
write a c program for swapping two strings using pointer
Differentiate abs() function from fabs() function.
Create a structure to specify data on students given below: Roll number, Name, Department, Course, Year of joining Assume that there are not more than 450 students in the college. 1.write a function to print names of all students who joined in a particular year 2.write a function to print the data of a student whose roll number is given
Which header file is used for clrscr?
How does placing some code lines between the comment symbol help in debugging the code?
Explain the difference between exit() and _exit() function?
Explain the use of bit fieild.
Why is c called c?
Explain what are global variables and explain how do you declare them?
What is getch() function?
Explain Basic concepts of C language?