What is Name Decoration?
Answers were Sorted based on User's Feedback
Answer / nishikant sahu
While function overloading, to identify the exact function
compiler change the name of all overloaded function with the
help of calling convention.its aka name mangling but NM
depends complier to compiler.
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / murali
Giving aliases to long_difficult_namespace with simple_name
( i think )
| Is This Answer Correct ? | 1 Yes | 2 No |
Can I learn c++ without knowing c?
What is scope in c++ with example?
What is a dangling pointer?
In int main(int argc, char *argv[]) what is argv[0] a) The first argument passed into the program b) The program name c) You can't define main like that
Explain about Virtual Function in C++?
class X { public: int x; static void f(int z); }; void X::f(int y) {x=y;} What is the error in the sample code above? a) The class X does not have any protected members. b) The static member function f() accesses the non-static z. c) The static member function f() accesses the non-static x. d) The member function f() must return a value. e) The class X does not have any private members.
What is a singleton class c++?
What is buffer and example?
Consider a c++ template funtion template<class T> T& Add(T a, T b){return a+b ;} if this function is called as T c = Add("SAM", "SUNG"); what will happen? What is the problem in the template declaration/ How to solve the problem.
How do you establish a has-a relationship?
What is the hardest coding language to learn?
Why do we need constructors in c++?