[ create a new paste ] login | about

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

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

main()
{
float f= 7.0;
short s=*(short*)&f;
printf("%f",f);
//printf("%d",s);
}


Output:
1
2
7.000000
Exited: ExitFailure 8


Create a new paste based on this one


Comments: