Hello everyone this is my first question so if I do something wrong ,please forgive me.
I have been trying to allocate memory for the struct I have written.definition as follows;
struct newstruct* temp1;
temp1 = malloc(1*sizeof(struct newstruct));
whenever I tried to allocate memory like this I always get the "[Warning] incompatible implicit declaration of built-in function 'malloc'" warning. I don't understand if my definition wrong or I am missing anything.