Which operator can not be overloaded in C++?
The only C operators that can't be are . and ?: (and sizeof , which is technically an operator). C++ adds a few of its own operators, most of which can be overloaded except :: and . * .
| Is This Answer Correct ? | 0 Yes | 0 No |
Is java made in c++?
What is a mutex and a critical section.Whats difference between them?How do each of them work?
What do c++ programmers do?
Write a corrected statement in c++ so that the statement will work properly. if (4 < x < 11) y=2*x;
Can we get the value of ios format flags?
Should I learn c++ c?
template<class T, class X> class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }
What is the Difference between "vector" and "array"?
15 Answers Covansys, Gambit, TCS, Wipro,
What are the c++ access specifiers?
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
Explain differences between alloc() and free()?
What is ctime c++?