Is it possible to create a function from struct?
Like this:
#include <stdio.h>
struct dma
{
int day, mes, year;
};
dma *x(int a, int b, int c)
{
}
int main(int argc, char *argv[])
{
}
and, this function return an struct..
If possible, how can I use them?
Not sure what you want to accomplish, but perhaps this is close enough?