answersLogoWhite

0

Becuase, sometimes data is in a form that is unrecognizable to the program. Example:

int a = 2;

int b = 3;

double c = a / b;

We cast c as a double. if it was not, then the data would not have a decimal value.

User Avatar

Wiki User

17y ago

What else can I help you with?

Related Questions

What type of programs use PC Cast?

PC Cast is used for type casting in C and C++ programming. Typecasting is making a variable of one type, such as an int, act like another type, a char, for one single operation.


Programming Software?

form_title=Programming Software form_header=Increase your productivity level with the right programming software for you. What type of programming software are you looking for?=_ Do you have a senior discount card?= () Yes () No Do you need help installing the software?= () Yes () No


What year is a 5.7 vortec with block casting?

Need the casting # to answer that question.


What type of education do you need as a web designer?

none but its better if you have at least two years of colege on programming i thnk


Do you need to be a good programmer to be good at engineering?

It depends what type of engineering you want to get into. Electrical engineers will use programming.


What type of GM transmission is casting number 3925656?

A Trans with the casting 3925656 on the main case is a saginaw 4-speed. To find out the year and other info you need to find other numbers on the extension housing and side cover. You also need to find the vin.


What type of surface defects on the casting?

your a Dylan


Is there a program that can help you make a programming language but you don't need to know a programming language?

No. In order to make or use a program or a programming language, you need to know a programming language.


Is the process of casting actors that have a physical appearance and personality similar to a particular character in a play?

Type-casting.


What is converting data types?

Type cast


How to use NS2 programming?

you don't need to use ns2 programming


What is type conversion?

Type conversion or type casting is the method of changing the entity of datatype to another.