On Tue, Sep 15, 2015 at 11:22 AM, neeraj mehta <mehtaneeraj07 at gmail.com> wrote: > I was looking a the code in learn.c file. As per my understanding atoi > function take const char * as an input argument. but in the below snippet > value is passed as argument which is char *. It's OK to pass a modifiable argument to a function that won't modify it.