Hardware interaction is pretty general. Today most hardware Interfacing usually is done by the OS and not your C program.
You don't say what hardware you have available.
The first thing I think of is communicating with a serial USB device but do you have any such devices AND do you have the code libraries (SDK) for the devices?