— It does I guess
— For (int i=0; i<10; ++i)
— It's basically the same thing. Look at some compiler output
— Where that int i was not supposed to work
In modern C idk from which Version we use // single comments many other features which were not supposed to be
— Btw, olli, i think that 3.0 should suffice for the compiler to detect a float
An unsufﬁxed ﬂoating constant has type double. If sufﬁxed by the letter f or F, it has type float. If sufﬁxed by the letter l or L, it has type long double.
Message permanent page
— 3.0 is double though. So it's not the same
— Sure but the effect should be the same
— For sure, just wanted to have the exact same behavior
— Okay, makes sense!
— Well 3.0 should be bloat so yea, 3,0f is better