I have a structure in a function declared like this:
struct audio ad;
and basically I need to return its address to the calling function.
First, should the declaration look something like this:
static struct audio ad;
because this is a local variable so, it will be erased from memory when control goes back to the calling function?
Seconds, how exactly should my function prototype look like?