summaryrefslogtreecommitdiff
path: root/bigarray/bigarray.c
blob: 74bcb56e8e5df7288f80fabd3846e2d499f05e01 (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include <stdlib.h>
#include <stdio.h>
#include <stdint.h>
#include <unistd.h>
#include <string.h>

int main( int argc, char *args[] ){
    uint64_t bigarray[500000] = {};
    uint64_t ncount = 0;
    for ( ; ncount < 500000; ncount++ )
        bigarray[ncount] = ncount;
    ncount = 0;
    for ( ; ncount < 500000; ncount++ )
        fprintf( stdout, "%lli\n", ncount );
    memset( bigarray, 0, sizeof(bigarray) );
    return EXIT_SUCCESS;
}