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 |
Tell me with an example the self-referential structure?
How can I prevent other programmers from violating encapsulation by seeing the private parts of my class?
What is period operator in c?
How do you initialize pointer variables?
Explain which function in c can be used to append a string to another string?
plz answer.... write a program that reads line (using getline) e.g."345", converts each line to an integer using "atoi" and computes the average of all the numbers read. also compute the standard deviation.
IS Doon college of Engn.. has good faculty
wite a programme in c to linear search a data using flag and without using flags?
Can we use any name in place of argv and argc as command line arguments?
What is main void in c?
write a program to find the number of even integers and odd integers in a given array in c language
13 Answers IAI Cameroun, NIIT, Olive Tech, QIS,
C program code int zap(int n) { if(n<=1)then zap=1; else zap=zap(n-3)+zap(n-1); } then the call zap(6) gives the values of zap [a] 8 [b] 9 [c] 6 [d] 12 [e] 15