lakshminarayanan
Newbie level 5
i inculded global.h header file in more than two c code file and the compiler stats the error multiple defined object and error lnk-2005 .....how to solve the issue...
The header file starts with
#ifndef _GLOBAL_H_
#def _GLOBAL_H_
// variable declaration
// function declaration
// structures declaration
#endif
The header file starts with
#ifndef _GLOBAL_H_
#def _GLOBAL_H_
// variable declaration
// function declaration
// structures declaration
#endif