(programming) A conversion from one data type to another where the new data type’s size is the same or greater than the old one’s, guaranteeing that there will be no loss of information.
widening conversion
コンパイラは int の値を long 型の変数に代入する際、情報が失われないように同じかより大きなサイズのデータ型への変換(拡大変換)を適用します。
アカウントを持っていませんか? 新規登録
アカウントを持っていますか? ログイン
DiQt(ディクト)
無料
★★★★★★★★★★