When a real value is assigned to an integer variable, a type error can occur, leading to potential data loss or truncation of the decimal part. In programming languages that enforce strict type checking, this operation may result in a compilation error or runtime error. In languages with implicit type conversion, the real value may be truncated to fit the integer type, discarding any fractional component.
Copyright © 2026 eLLeNow.com All Rights Reserved.