#LingarajTechhub
C++ allows the assignment of an integer expression to a floating-point variable. ... A similar conversion is performed when assigning a floating-point number to an integer variable. Floating-point numbers are truncated when assigned to integer variables.