aboutsummaryrefslogtreecommitdiffstats
path: root/sizeofsize_t.c
blob: 6e4b52aeae142189cc5df895fe9a13318d16d1dd (plain)
1
2
3
4
5
6
7
8
// Really self explanatory.
#include<stdio.h>
#include<stdlib.h>

int main ( int argc, char *argv[] ) {
    int size = sizeof(size_t);
    printf("The size of size_t is %dB or %db\n", size, size * 8);
}