[ create a new paste ] login | about

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

C, pasted on Aug 23:
1
2
3
4
5
6
7
8
9
10
#include <stdio.h>

int main()
{
    signed short int a = 10;
    unsigned short int b = 10;
    printf("%d\n", sizeof(a));
    printf("%d\n", sizeof(b));
    return 0;
}


Output:
1
2
2
2


Create a new paste based on this one


Comments: