:: C Language Interview Questions ::

Click on >> (Arrow for More Questions) 

  Answer/Explaination : 

Linker Error : Undefined symbol '_i'


(Exp): 
extern storage class in the following declaration,
extern int i;
specifies to the compiler that the memory for i is allocated in some other program and 
that address will be given to the current program at the time of linking. But linker finds 
that no other variable of name i is available in any other program with memory space 
allocated for it. Hence a linker error has occurred .
 
 

Next >>

 
 

Quick Links

| Home | C Language | All India Entrances | Previous Year Papers | Software Projects

| Project Reports | Job Alerts & Notifications | Technical Interview Questions |

| Audio Visual Notes |