added c code
Merge pull request #1 from Shobhit28/c_code

added c code