Adding Qos_profile C example

Added code for C example.