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 |
how to use enum datatype?Please explain me?
Is c still relevant?
typedef enum { html, java, javascript, perl, cgi } lang;The above statement defines a : a) Union b) User defined type c) Enumerated variable d) none
wtite a program that will multiply two integers in recursion function
What is storage class?
we all know about the function overloading concept used in C++ and we all learnt abt that.... but that concept is already came in C in a very smaller propotion ... my question is IN WHICH CONCEPT THERE IS A USE OF FUNCTION OVERLOADING IS USED in C language?????????????
will u please send me the placement papers to my mail???????????????????
define c
f(x,y,z) { y = y+1; z = z+x; } main() { int a,b; a = 2 b = 2; f(a+b,a,a); print a; } what is the value of 'a' printed
What do you mean by a local block?
9.how do you write a function that takes a variable number of arguments? What is the prototype of printf () function? 10.How do you access command-line arguments? 11.what does ‘#include<stdio.h>’ mean? 12.what is the difference between #include<> and #include”…”? 13.what are # pragma staments? 14.what is the most appropriate way to write a multi-statement macro?
How do you determine whether to use a stream function or a low-level function?