Your task is to define a union that allows viewing a float both as a floating-point number and as its raw 4-byte representation.
f
bytes[4]
The program will assign a value to the union and then print the raw bytes.
Example Input:
1.0
Output :
00 00 80 3F
Input:
-2.5
00 00 20 C0
Test Cases
Test Results
Input
1
Expected Output