History, asked by sureshbanavath363, 2 months ago

explain about type conversion with examples?​

Answers

Answered by nk7849245
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 Anonymous
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