C Tutorial/stdlib.h/strtoull
strtoull
Item Value Header file stdlib.h Declaration unsigned long long int strtoull(const char *restrict start, char **restrict end, int radix); Function similar to strtoul() except that it returns an unsigned long long int.
- If the result cannot be represented as an unsigned long integer, ULLONG_MAX is returned
- If *start is a number, no conversion takes place and zero is returned.
#include <stdlib.h>
int main(void){
char *start, *end;
char a[100];
end = a;
*start= "12341234";
printf("%d", strtoull(start, &end, 8));
}