[ create a new paste ] login | about

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

kinopiko - C, pasted on Oct 25:
1
2
3
4
5
6
7
8
9
10
11
12
13
#include <stdio.h>
int main ()
{
    double decker = 1.0;
    unsigned char * desmond = (unsigned char *) & decker;
    int i;

    for (i = 0; i < sizeof (double); i++) {
         printf ("%02X ", desmond[i]);
    }
    printf ("\n");
    return 0;
}


Output:
1
00 00 00 00 00 00 F0 3F 


Create a new paste based on this one


Comments: