Converting char array to int or float

char * is an pointer to a character of arrays. char * is converted to int or float as follows:

char *c;
int i = atoi(c);
float f = atoi(f);
Technologies: 
Actions: