Hi
I have to use some functions from some libraries and there functions does not allow to pass my structure to those.So I want to use global variable.
Can I define pointer as global variable and in "main" section, assign allocate memory for that by malloc ??
what are drawbacks of global variable ?