c++ - Postfix LL for type long long -


this basic.

while defining type long long expression like.

long long x=5435666ll; 

i cant understand why ll post fixed since without post-fix quite clear compiler allocate right memory space(8 bytes in vc++) anyways in absence of post-fix.

so purpose 'll' post-fix serves?

your code equivalent to

long long x; x = 5435666ll 

without ll suffix, 5435666 int. in either case result same because 5435666 fits in int, unless you're on 16 bit platform.


Comments

Popular posts from this blog

Java sticky instances of class com.mysql.jdbc.Field aggregating -