[ create a new paste ] login | about

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

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

struct xyx {
    int x;
    int y;
    char c;
    char str[20];
    int arr[2];
};

int main(void)
{
    struct xyx a;
    a.x = 100;
    printf("%d\n", a.x);
    return 0;
}


Output:
1
100


Create a new paste based on this one


Comments: