What is name lookup? - C++

What is name lookup?

A name lookup is a name in the specified logically grouped names in the namespace, using scope operator (::). The compiler tries to look up the name in the specified namespace through the scope.

What is name lookup?

When a function is called, which function to call is decided by the name look up. It is also known as argument dependent lookup (ADL), or argument dependent name lookup. It applies to the lookup of an unqualified function name depending on the types of the arguments given to the function call.
What are Templates? - C++
What are Templates? - Namespaces: The basic purpose of Namespaces is to reduce name clashes that occur with multiple...
Describe new operator and delete operator
Describe new operator and delete operator - new and delete operators are provided by C++ for runtime memory management....
Distinguish between new and malloc and delete and free().
Distinguish between new and malloc and delete and free() - Delete is assocated with new and free(0 is associated with malloc()....
Post your comment