which of the function operator cannot be over loaded
a) <=
b)?:
c)==
d)*
Answers were Sorted based on User's Feedback
Answer / ruchi
Overloading is the concept of c++
In c++ ?: cant be overloaded
| Is This Answer Correct ? | 11 Yes | 1 No |
Answer / muthu bharathi
There are 5 operators which cannot be overloaded. They are:
.* - class member access operator
:: - scope resolution operator
. - dot operator
?:: - conditional operator
Sizeof() - operator
answer: b
| Is This Answer Correct ? | 10 Yes | 1 No |
Answer / anas
In 'C' there is no concept of overloading.
If we talks about C++ then TRINARY operator (? : ) cant be over loaded.
So, only the option (b) is correct.
| Is This Answer Correct ? | 3 Yes | 0 No |
Answer / balu
i think b and d can't support overloading concept..
| Is This Answer Correct ? | 2 Yes | 1 No |
Answer / sahithya
overload concept will face in C++ i.e., if we declare a
same function with different times .
In c we dont have any overloadind concept .
ofcourse by seing the options we can say easily that
options will need of 3 or 2 operands compulsory.so
overloading does not occur
| Is This Answer Correct ? | 0 Yes | 5 No |
How can I invoke another program from within a C program?
formula to convert 2500mmh2o into m3/hr
difference between native and cross compilers
Do pointers take up memory?
When should a type cast be used?
What is function in c with example?
What is array within structure?
Explain what is gets() function?
What is the use of the function in c?
write a pgm to print 1 1 2 1 1 2 3 2 1 1 2 3 4 3 2 1
Can a function be forced to be inline? Also, give a comparison between inline function and the C macro?
What is a macro in c preprocessor?