view contrib/reghunt/examples/29106.cc @ 28:f2ea7e07d030

bit modify.
author kent@teto.cr.ie.u-ryukyu.ac.jp
date Mon, 16 Nov 2009 17:22:19 +0900
parents a06113de4d67
children
line wrap: on
line source

#include <stdio.h>

int main()
{
    int* const savepos = sizeof(*savepos) ? 0 : 0;

    // code for the next line is left out!
    printf("size of thingy is %d\n", sizeof(*savepos));
}