summaryrefslogtreecommitdiff
path: root/wk4/lect/memory.c
blob: 26cff19b9994afb9438ec23795d6677324398a40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <cs50.h>
#include <ctype.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>

int main(void)
{
    int *x = malloc(3 *sizeof(int));
    x[0] = 72;
    x[1] = 73;
    x[2] = 33;
}