By: Dusty Arlia
Published on Tuesday, May 28, 2013, 08:31 AM
Last Updated on Friday, July 17, 2015 at 3:21 PM
Total Updates: 2

Typecasting is a term used in certain programming languages like C or C++ to make a variable/value of one data type act like a variable/value of another data type for a single operation. To typecast a variable or value, put the data type you want it to act as inside parentheses in front of it. For example:


This will make d behave as a char.