what is linkage error when it occurs in c program

Answers were Sorted based on User's Feedback



what is linkage error when it occurs in c program ..

Answer / karthik

linkage error occurs when the library files included in
program are not present in default directory you added while
installing compiler.. set environment settings and change
directory.... you will not get linkage errors..

Is This Answer Correct ?    14 Yes 1 No

what is linkage error when it occurs in c program ..

Answer / naresh

main()
{
extern int iExtern;
iExtern = 20;
printf(ā€œ%dā€,iExtern);
}
Why do we get linkage error for the above code

Is This Answer Correct ?    14 Yes 3 No

what is linkage error when it occurs in c program ..

Answer / 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

More C Interview Questions

Describe the header file and its usage in c programming?

0 Answers  


What are the 5 data types?

0 Answers  


Calculate 1*2*3*____*n using recursive function??

0 Answers  


Explain what are multibyte characters?

0 Answers  


What is the difference between specifying a constant variable like with constant keyword and #define it? i.e what is the difference between CONSTANT FLOAT A=1.25 and #define A 1.25

0 Answers  






how to find your architecture is LittleEndian or BigEndian?

1 Answers  


What is a double c?

0 Answers  


Can stdout be forced to print somewhere other than the screen?

0 Answers  


What is a structure in c language. how to initialise a structure in c?

0 Answers  


what will be the output off the following program? #include<stdio.h> int main() { int a; a=015+0*71+5; printf("%d,a"); return0; }

9 Answers   HCL,


WAP &#8211; represent a char in binary format

4 Answers   Motorola, Wipro,


why do we use pointer instead directly acessing the data?

2 Answers  


Categories