answersLogoWhite

0

In short, mangling ensures that symbols (variables, functions, structures, classes, etc) that are by language definition local in scope to some extent in their respective namespaces (different source files, classes, libraries, etc) can't collide when taken in a global context like a linker.

User Avatar

Wiki User

12y ago

What else can I help you with?

Continue Learning about Engineering

Can we use same compiler for both c and c plus plus language?

Yes. In fact both the C++ compiler and the linker are intrinsically command-driven; the IDE (if you have one) simply provides a graphical front-end to both. Consult your compiler/linker documentation to view the required command line syntax. In particular, consult the 'makefile' topic which should show you how to create a command file (or batch file) that can automate the entire process for a particular project.


What does mangle mean?

Function mangling is a process where some languages, notably C, alter the function's link symbol in order to create unique names for functions with the same name but different parameters. The linker can then distinguish between which function to call by comparing the object code's mangled function calls to the call table. As a simple example, given a function such as int foo(int bar), the function might become managed as _foo@4. Then, when the C compiler finds a call such as foo(4), it will generate a linker call such as "push 4; call _foo@4;".


What is c multiplied by c multiplied by c?

The expression c multiplied by c multiplied by c can be written as c^3, which is read as "c cubed." This represents c raised to the power of 3, meaning c multiplied by itself three times. So, c^3 is equal to c * c * c, which simplifies to c multiplied by c squared.


What are articles C C C C C?

pirates


Defference between c plus plus and c?

these are difference in between c and c++: a) C is a SPL and C++ is a OOP. b) C has not concept of object but C++ has this feature. c) C has not 'class' name data type but C++ has.

Related Questions

What is mangling painting?

what is mangling painting?


Example of mangling painting?

example of mangling painting


What is mangling in art?

Mangling in art shows subjects or objects which are cut, lacerated, mutilated or hacked with repeated blows.


What is differentiate environmental and personal dimension?

Mangling of the English language. Please repost


Can we use same compiler for both c and c plus plus language?

Yes. In fact both the C++ compiler and the linker are intrinsically command-driven; the IDE (if you have one) simply provides a graphical front-end to both. Consult your compiler/linker documentation to view the required command line syntax. In particular, consult the 'makefile' topic which should show you how to create a command file (or batch file) that can automate the entire process for a particular project.


How do you remove tranny front seal without mangling it?

You can't unless you remove the front pump assembly and drive it out from behind but, I still wouldn't reuse the seal, just replace it with a new seal.


How was Wellington usually called by Napoleon?

Napoleon used to call Wellington "Monsieur Vilainton" , mangling the pronunciation from "uelinton - 2welKNt@n" in "vilenton - 2vKl@n " with clear insulting and derogatory intent.


Jeep wrangler is making a whining noise what could it be it whines when it is idleing and it whines really loud when it is in gears?

Check the fluid level in the trans, the whining is probably the input shaft gear mangling itself.


Arthur Miller's dramatic portrayal of Salem leading up to the witch trials?

Miller's play is titled "The Crucible." Is not a factual history of the event, but a mangling of facts and theories about the trials to create an allegory to 1950s McCarthyism.


Is it unlucky to wear black on Friday 13th?

No. I've weared black on Friday the 13th several times, and nothing bad has happened. Pure superstition if people tell you otherwise.SaveNot unless you count mangling the English language as bad!


What is the value of a flawed 1977 Jubilee Crown?

If you refer to a flaw caused during the minting process as distinct from a subsequent mangling or mutilation of the coin, you would be best advised to take your coin to a reputable coin dealer for inspection and appraisal. At present, there are no advertised occurences of a 1977 Crown with minting flaws.


What does a scale mean on a bar graph?

./c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,c,