M
Mateusz_madi
I have program:
--------------
#include<stdio.h>
struct s{
int x;
struct s* nxt;
};
void f(struct s* pt)
{
malloc(sizeof(struct s));
}
.....
Why i get warrning when i'am trying to compile it sth like:
Incompatible implicit declaration of build-in function 'malloc'
??
--------------
#include<stdio.h>
struct s{
int x;
struct s* nxt;
};
void f(struct s* pt)
{
malloc(sizeof(struct s));
}
.....
Why i get warrning when i'am trying to compile it sth like:
Incompatible implicit declaration of build-in function 'malloc'
??