Update 1.c

changes from kartik.
Merge pull request #3 from kartiknagre/mc1

Update 1.c