Names of functions in two different files linked together must be unique
Answer: A
Correct answer: True
Once two files are linked together they share a single global namespace, so two external functions with the same name collide and the linker reports a duplicate symbol. The way to avoid it is to declare a function static, which confines it to its own file.
Please log in or register to report this question.