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 |
The program will first compute the tax you owe based on your income. User is prompted to enter income. Program will compute the total amount of tax owed based on the following: Income Tax 0 - $45,000 = 0.15 x income $45,001 - $90,000 = 6750 + 0.20 x (income – 45000) $90,001 - $140,000 = 15750 + 0.26 x (income – 90000) $140,001 - $200,000 = 28750 + 0.29 x (income – 140000) Greater than $200,000 = 46150 + 0.33 x (income – 200000) Dollar amounts should be in dollars and cents (float point numbers with two decimals shown). Tax is displayed on the screen.
What is difference between main and void main?
Define a structure to store the record of library. The record must consist of at least following fields: Title, Author, Edition, Price, Publisher, and Category. -Define functions authorSearch ( ), TitleSearch ( ) and CategorySearch ( ) to search a book with respect to author, title and category. [There can be more than one book, written by one author, in one category]
Is return a keyword in c?
Explain what is a pragma?
What are the types of i/o functions?
hi, which software companys will take,if d candidate's % is jst 55%?
What is include directive in c?
explain how do you use macro?
what is the difference b/w compiler and debugger?
wat are the two methods for swapping two numbers without using temp variable??
Why Modern OS are interrupt driven?Give an example