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 are type modifiers in c?
What is Dynamic Initialization.
How to print India by nested loop? I IN IND INDI INDIA
What is array of structure in c programming?
11. Look at the Code: #include<string.h> void main() { char s1[]="abcd"; char s2[10]; char s3[]="efgh"; int i; clrscr(); i=strcmp(strcat(s3,ctrcpy(s2,s1))strcat(s3,"abcd")); printf("%d",i); } What will be the output? A)No output B) A Non Integer C)0 D) Garbage
Is that possible to add pointers to each other?
What would happen to X in this expression: X += 15; (assuming the value of X is 5)
how many key words availabel in c a) 28 b) 31 c) 32
How do I convert a string to all upper or lower case?
how to find sum of 5 digits in C?
What is a static variable in c?
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.