The suffix l
and L
for numeric literals long int
and long double
are the same. I don't understand how the compiler can know if I want my numeric literal to be a long int or a long double if they both share the same suffix. Why does this work?
I know I'm missing something completely obvious here.