Skip to content

Instantly share code, notes, and snippets.

View davidsanfal's full-sized avatar

David Sánchez Falero davidsanfal

View GitHub Profile
@davidsanfal
davidsanfal / a.cpp
Last active August 29, 2015 14:21 — forked from fcofdez/a.cpp
#include <stdlib.h>
#include <stdio.h>
int main(){
int *a;
a = (int *) malloc(sizeof(int) * 12);
for (int i = 0; i < 12 ; i++)
a[i] = i;
for (int i = 0; i < 12 ; i++)
printf("%i\n", a[i]);