What is operator overloading? Give Example
Answers were Sorted based on User's Feedback
Answer / ramkumar
when have two or more operator is called operator overloading.
E.g,. i++,a++b
| Is This Answer Correct ? | 10 Yes | 36 No |
What is a scope resolution operator?
#include <iostream> using namespace std; struct wow { int x; }; int main() { wow a; a.x = 22; int c = a.x; int *b = new int; cout << c; return 0; } option: No output 0 22 -(11) Will not compile
Is react oop?
Is following functions are said to be overloaded? int add(int a,int b) char *add(int a,int b)
what is new modifier in C#
Program to read a comment string
when my application exe is running nad i don't want to create another exe what should i do
What is the default size allocated for array in the statement if size not specified " int a[] "
features of OOPS
22 Answers Ness Technologies, Satyam,
to remove the repeated numbers from the given . i.e.., if the input is 12233 output should of 123
Why multiple inheritance is not allowed?
What is the difference between pass by reference and pass by value?