what is linkage error when it occurs in c program

Answer Posted / rajesh

Linkage error occurs when the linker fails to resolve all
the symbols during the linking process. This can happen if
the linker is not able to find any definition for an extern
declaration in one .C file by the time of linking.

Is This Answer Correct ?    6 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What does main () mean in c?

615


What is the description for syntax errors?

615


Write a program to reverse a string.

642


How do you define a function?

583


What is difference between Structure and Unions?

640






Why string is used in c?

581


What is the difference between typedef and #define?

545


How can I remove the trailing spaces from a string?

616


Is c easy to learn?

560


Under what circumstances does a name clash occur?

692


Explain goto?

718


Explain what is wrong in this statement?

634


Is there any algorithm to search a string in link list in the minimum time?(please do not suggest the usual method of traversing the link list)

1866


Write a program for finding factorial of a number.

635


How can you invoke another program from within a C program?

618