Answers for "c allocate memory for struct"

1

c allocate memory for struct

#include <stdlib.h>
struct your_struct *x = malloc(sizeof(struct your_struct));
Posted by: Guest on September-24-2020
1

c allocate memory for struct

#include <stdlib.h>
struct your_struct *x = malloc(sizeof(struct your_struct));
Posted by: Guest on September-24-2020

Browse Popular Code Answers by Language