Interfacing C with Arduino

Thanks CrossRoads for the reply!

It will be great if you can elaborate the protocol and the message format using some examples. Can you please provide any pseudo codes for the same?