Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created December 30, 2020 21:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/a518943badb27fa8b5598afaff834d8f to your computer and use it in GitHub Desktop.
Save parzibyte/a518943badb27fa8b5598afaff834d8f to your computer and use it in GitHub Desktop.
// Asignar espacio de memoria
struct persona* p = malloc(sizeof(struct persona));
if (p == NULL) {
printf("No hay memoria suficiente");
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment