If you are using only SDL, it's more complicated than you might think. You have to set up a callback and feed SDL audio samples as it requires it.
There is a secondary support library called SDL_Mixer that you might want to get, as it supposedly wraps the process a bit more and makes it easier to do simple tasks like that.
Although I've never used SDL_Mixer so I couldn't really help you with it.
There is no "playsound" or equivilent function in SDL. It requires you to set up a separate callback function and manually mix raw audio samples into an output buffer. The minimal code to do it would be around ~25 lines.
I'm too tired now to write up the code necessary to do it for you, and I'm kind of assuming a big block of code is not what you're looking for anyway.
That said, SDL_Mixer probably does have a single function you can call, so I recommend you look it up and get that add-on if you're using SDL.