what is linkage error when it occurs in c program
Answers were Sorted based on User's Feedback
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 |
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 |
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 |
What is a loop?
PLS U SENS ME INTERVIEW O. MY EMAIL ADD, SOFIYA.SINGH@GMAIL.COM
Write a program to find the biggest number of three numbers in c?
what is associativity explain what is the precidence for * and & , * and ++ how the folloing declaration work 1) *&p; 2) *p++;
What are two dimensional arrays alternatively called as?
Tell us two differences between new () and malloc ()?
how do you redirect stdout value from a program to a file?
The __________ attribute is used to announce variables based on definitions of columns in a table?
What is infinite loop?
Program to find larger of the two numbers without using if-else,while,for,switch
main() { int i=0; while(+(+i--)!=0) i-=i++; printf(i); }
How many levels of pointers can you have?