C code to implement myatoi function

 

implementation of myatoi function in c.

Atoi function converts a string numeric value into integer value.