Show the worked solutionEach overloaded version is a distinct function with its own signature. The compiler compiles each definition separately (with its own mangled name) and picks one at each call by overload resolution.(B) contradicts this — incorrect.(C) Overloading exists precisely to handle different argument types — incorrect.(D) Overloads may have the same number of arguments if the types differ — incorrect.Answer: A
GATE DA practice: past exam problems by chapter, with worked solutions · gatedaprep.com