explain about type conversion with examples?
Answers
Answered by
5
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
1
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.
Similar questions
Math,
1 month ago
Social Sciences,
1 month ago
India Languages,
1 month ago
Social Sciences,
3 months ago
Math,
3 months ago
Math,
9 months ago
Physics,
9 months ago