C language error: malloc is undefined

C language error: malloc is undefined

Solution

Add header file of malloc function

#include <stdio.h>
#include <stdlib.h>

int main(int argc, char const *argv[]) {
 
    return 0;
}
So‮w:ecru‬ww.lautturi.com
Created Time:2017-08-29 09:31:01  Author:lautturi