corrected the c program proper output is coming & started with
cpp program