All pastes #627657 Raw Edit

Miscellany

public text v1 · immutable
·published 2007-07-20 13:18 UTC
rendered paste body
#include <stdio.h>

typedef struct {
        char *q;
        int p;
} mystruct;

int main()
{
        int mysint;
        int myint[10];

        mystruct mys;
        mystruct myss[10];

        printf("sizeof: %i\n", sizeof(mysint));
        printf("sizeof: %i\n", sizeof(myint));
        printf("sizeof: %i\n", sizeof(mys));
        printf("sizeof: %i\n", sizeof(myss));

        return 0;
}