what is type casting?
Answers
Answered by
0
Answer:
Typecasting, or type conversion, is a method of changing an entity from one data type to another. ... An example of typecasting is converting an integer to a string. This might be done in order to compare two numbers, when one number is saved as a string and the other is an integer.
Answered by
0
Answer:
Type Casting is a method of changing an existence from one type of data to another. It is used to program many things.
Example:-
- Whole number to a string
- Floating point number to Integer
Hope it Helps!
Similar questions