I have a long binary string in a char array like this
char abc  = "100000001010000000110010";
I need to convert this string to a long long.
I can't use atoi to convert it to long long using atoll because this string is more than 10 (11 including null termination) characters long. And starts giving me junk values.
Once I convert it to an integer I will run a program / function to convert the long long number to its equivalent radix 10 format..
Does anyone have any suggestions how I can go about this? or some other way to approach this problem
Thanks in advance...