:: C Language Interview Questions ::

Click on >> (Arrow for More Questions) 

  Answer/Explaination : 

Linker error: undefined symbol '_i'.


(Exp):
extern declaration specifies that the variable i is defined somewhere else. 
The compiler passes the external variable to be resolved by the linker. So 
compiler doesn't find an error. During linking the linker searches for the 
definition of i. Since it is not found the linker flags an error.
 
 

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 |