Audio is tricky in C language; by default, most IDE systems have no include files or header files to let programmers incorporate music easily. The only one I know of is Visual Studio, where you can invoke the PlaySound() to play WAV files like so:
#include <windows.h> // for PlaySound()
#define SND_FILENAME 0x20000
#define SND_LOOP 8
#define SND_ASYNC 1
using namespace std;
// play sound as loop (remove SND_LOOP for one time play)
// file boing.wav has be in the working directory
cin.get(); // wait
Otherwise, you may have to look for an open-source audio playback library.
Technology: something that's hated & cursed at by all engineers, technologists & technicians!
( Lousy modern technology!