What is Type Casting?

Quốc Ân

New member
What is Type Casting?
A. Converting a file from one type to another
B. Creating new arrays
C. Deleting the variable from memory
D. Converting a variable from one type to another
 
Answer: D
Explanation: Casting is the process of forcefully converting a variable from one data type to another. There are 4 types of casting; static cast, dynamic cast, const cast, reinterpret cast.
 

Tìm kiếm

Back
Top