title: what is signifcance of argument 'base' in strtol in c?
body: <p>In string library function strtol ,there is a third argument called 'base'. man page says that this base should be between 2 to 36 or a special value 0.what is the significance of this argument while writing the code?I get the different output when I change the value of base in my code.but I do not understand the logic behind change of base and difference in outputs...simply-I am not able to predict my output with change of base. </p>