What do you mean by internal linking and external linking in c++?
Internal linkage refers to everything only in scope of a translation unit. External linkage refers to things that exist beyond a particular translation unit. In other words, accessible through the whole program, which is the combination of all translation units (or object files).
| Is This Answer Correct ? | 0 Yes | 0 No |
What is a float in c++?
How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.
What is the stack?
What are the advantages of using typedef in a program?
Give example of a pure virtual function in c++?
What is a storage class used in 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 function declaration in c++ with example?
What is a namespace in c++?
why all c++ program must have default constructor?
What do the keywords volatile and mean mutable?
What is the hardest coding language to learn?