what is the difference between long int and long long int?
Data modifiers and datatypes
Data types are compiler specific. If i talk about my compiler, both long int and long long int are 8 bytes and thus are equivalent. You can check by just printing sizeof(long int) and sizeof(long long int). Usually this will produce similar result.