Count Number of Binary Strings


could someone tell me what is wrong with this code??

@S19IPC0012 hey your datatype is not strong enough to store the result. so change data type to long long int