explain about type conversion with examples?
Answers
Answered by
0
Answer:
This process is also called type casting and it is user defined. Here the user can type cast the result to make it of a particular data type. ... This is done to take advantage of certain features of type hierarchies or type representations. It helps us to compute expressions containing variables of different data types.
Answered by
0
Good morning ❤️⚡
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.
Similar questions
Social Sciences,
1 month ago
English,
1 month ago
Math,
1 month ago
Physics,
4 months ago
Math,
10 months ago