[ create a new paste ] login | about

Link: http://codepad.org/uw571mNb    [ raw code | output | fork ]

C, pasted on Nov 26:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#include <stdio.h>
#include <stdlib.h>

int wert_global[5];

int main(void)
{
    static int wert_static[5];
    int wert_auto[5];
    int i;

    for(i = 0; i < 5; i++)
        printf("%d: \t%10d\t%10d\t%10d\n",
            i, wert_global[i], wert_static[i], wert_auto[i]);
    return EXIT_SUCCESS;
} 


Output:
1
2
3
4
5
0: 	         0	         0	1073784948
1: 	         0	         0	1073830340
2: 	         0	         0	 134513662
3: 	         0	         0	 134513936
4: 	         0	         0	         0


Create a new paste based on this one


Comments: