Convert String to int

But, if my char array is

      char Str3[2] = {'0','1','2'};

And i need to have the casted numeric value = 012;

How can i do it? I know I am thinking in a java way :smiley: , but it's only because I am a java developer :frowning: