if its called hexbin.c it should be a c file.
Open with a plain text editor.
If you want to run it, you'll need to compile it first.
gcc hexbin.c -o hexbin
(on the linux box).
Windows 10 I think has some linux subpinnings now, so gcc or a similar compiler could be used.