What are type safe linkage?

hi every1..
please let me know waht is type safe linkage..?and why is it useful..
help would be appreciated..
Typesage linkage enforces the right number and type of parameters are passed at link time.

For example, in C, you can define a library function as taking an int, but thru a series of mishaps, you can pass it a string.

C++ avoids this kind of error by making function prototypes mandatory and my using name mangling to enforce typesafe linking.
Topic archived. No new replies allowed.