why catch is a overloaded name in c++

catch is a keyword in C++ (part of the exception handling mechanism), you can't use it as an identifier at all.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.