what is type casting
Answers
Answered by
3
this is a casting in which we type
Answered by
3
Type casting is a way to convert a variable from one data type to another data type. For example, if you want to store a 'long' value into a simple integer then you can type cast 'long' to 'int'. You can convert the values from one type to another explicitly using the cast operator as follows − (type_nameexpression) expression.expression- Typecasting enables data type conversion. C++ supports Implicit conversions and Explicit conversion. Implicit conversions automatically performed when a value is copied to a compatible type. If there is an operation between an int and a float, the int is promoted to float before performing operation.
- You can cast types explicitly as follows (acting), the process by which an actor is strongly identified with a specific character, role, or trait
Type casting (computer programming), the act or result of changing an entity of one data type into another
Typecasting (blogging), a form of blogging in which text is composed on a typewriter, then scanned and uploaded to a blog
Type casting (typography), a technique for casting individual letters for use in printing presses
Typecast (band), Filipino band
Typecast (horse), American
- You can cast types explicitly as follows (acting), the process by which an actor is strongly identified with a specific character, role, or trait
Type casting (computer programming), the act or result of changing an entity of one data type into another
Typecasting (blogging), a form of blogging in which text is composed on a typewriter, then scanned and uploaded to a blog
Type casting (typography), a technique for casting individual letters for use in printing presses
Typecast (band), Filipino band
Typecast (horse), American
Similar questions