Default value of float and double datatype in different as compared to C/C++. For float its 0.0f and for double it’s 0.0d