What do you mean by internal linking and external linking in c++?

Answer Posted / hrpynux@gmail.com

Internal linkage refers to everything only in scope of a translation unit. External linkage refers to things that exist beyond a particular translation unit. In other words, accessible through the whole program, which is the combination of all translation units (or object files).

Is This Answer Correct ?    0 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is the outcome of cout< a) 16 b) 17 c) 16.5

698


Can char be a number c++?

685


Comment on assignment operator in c++.

807


What is the use of bit fields in structure declaration?

626


How to declare an array of pointers to integer?

686






What is the difference between #import and #include?

671


What does std mean in c++?

694


What do you mean by inheritance in c++? Explain its types.

705


What is std namespace in c++?

805


What is a tree in c++?

635


What is this weird colon-member (" : ") syntax in the constructor?

626


If dog is a friend of boy and boy is a friend of house, is dog a friend of house?

651


What is algorithm in c++ programming?

669


Can you please explain the difference between static and dynamic binding of functions?

644


Can there be at least some solution to determine the number of arguments passed to a variable argument list function?

691