The order of data type is 10^18. So how can we say that it can hold at most 18 digits?
About long long int data type
@Senjuti256 well long long int can’t store greater than 1e18 i think for that you need to use unsigned long long int
if its clear dont forget to hit like and mark resolved