Data modifiers and datatypes

what is the difference between long int and long long int?

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.