Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

What are the phases in s/w developed life cycle? wat is the diff b/w stack & queue...where do we use stack

6 Answers  


what is differnence b/w macro & functions

1 Answers  


What are reserved words?

0 Answers  


In scanf h is used for

4 Answers   BFL,


Can I initialize unions?

0 Answers  


What is meant by type specifiers?

0 Answers  


in linking some of os executables are linking name some of them

0 Answers   IBM,


# define prod(a,b)=a*b main() { int x=2; int y=3; printf("%d",prod(x+2,y-10)); } the output of the program is a.8 b.6 c.7 d.none

7 Answers   Microsoft, TCS,


Explain Function Pointer?

0 Answers   Wipro,


There are N egg baskets and the number of eggs in each basket is a known quantity. Two players take turns to remove these eggs from the baskets. On each turn, a player must remove at least one egg, and may remove any number of eggs provided they all belong to the same basket. The player picking the last egg(s) wins the game. If you are allowed to decide who is going to start first, what mathematical function would you use to decide so that you end up on the winning side?

8 Answers   Google,


How do I initialize a pointer to a function?

2 Answers  


what is the output of the following program? main() { int i=-1,j=-1,k=0,l=2,m; m=i++&&j++&&k++||l++; printf("%d %d %d %d %d",i,j,k,l,m); }

7 Answers  


Categories