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 |
Write a C program to check a number even or odd, without using any relational, arithmetic operator and any loops.
Write a C program that reads a series of strings and prints only those ending in "ed"
how many times of error occur in C
What are the functions to open and close file in c language?
What is function prototype in c with example?
2. Counting in Lojban, an artificial language developed over the last fourty years, is easier than in most languages The numbers from zero to nine are: 0 no 1 pa 2 re 3 ci 4 vo 5 mk 6 xa 7 ze 8 bi 9 so Larger numbers are created by gluing the digit togather. For Examle 123 is pareci Write a program that reads in a lojban string(representing a no less than or equal to 1,000,000) and output it in numbers.
What do header files do?
What is structure pointer in c?
What is the use of f in c?
What is static and auto variables in c?
What is the most efficient way to store flag values?
Explain what is the benefit of using #define to declare a constant?