I am new in C programming language and I have a question related to a variable:
float a=12.34f;
What does "f" stand for? I tried to see what happens if I remove the letter, but I couldn't find anything. The output is the same.
I am new in C programming language and I have a question related to a variable:
float a=12.34f;
What does "f" stand for? I tried to see what happens if I remove the letter, but I couldn't find anything. The output is the same.
So that it will be interpret as float not double by the compiler.
See here: Suffix of "f" on float value?