answersLogoWhite

0

Type conversion operations are mainly used for specified output for the program.

Eg: the input is two float values in addition, but the output needed is an integer

In this case we need the type conversion operation done for the program to get an integer value else the output will be float value.

User Avatar

Wiki User

12y ago

What else can I help you with?

Related Questions

Implict and empilet of type converision?

An implicit type of conversion does not need a special syntax in the source code, an explicit conversion makes use of the conversion keyword.


What happens when you perform arithmetic operations mixing different types of variables in java programming?

Java performs an implicit conversion to a unifying type.


What is a conversion function?

As the name suggests, a conversion function is a function that converts a value from one type to another. Many such conversions are either implicit or built-in operations, such as when converting from an int to a double. However, when converting between user-defined types, or between a user-defined type and a built-in type, we must write a function to explicitly perform the conversion for us. In object-oriented languages, we rely on conversion constructors and conversion operators to perform these conversions implicitly, but in C we must explicitly call the appropriate conversion functions.


What is conversion function?

As the name suggests, a conversion function is a function that converts a value from one type to another. Many such conversions are either implicit or built-in operations, such as when converting from an int to a double. However, when converting between user-defined types, or between a user-defined type and a built-in type, we must write a function to explicitly perform the conversion for us. In object-oriented languages, we rely on conversion constructors and conversion operators to perform these conversions implicitly, but in C we must explicitly call the appropriate conversion functions.


What is type conversion?

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


Is A E and I three operations performed on standard-form claims?

Conversion, obversion, contraposition


What is the use of boxing and unboxing operations in c sharp?

"Boxing" operations are used whenever a value type is needs to be treated as an object type. You most commonly see this when passing a value type (such as an integer) to a method or parameter that expects an object type. Simply Boxing means the conversion of the value type on the stack to a object type on the heap, similarly the conversion from an object type back to a value type is called as unboxing. In object oriented programming languages, methods are called using object. Value types such as int is not object, we cannot use that to call methods. But in C# we can do this with the help of Boxing. see this: http://www.authorcode.com/boxing-and-unboxing-in-c/


What does energy production require?

Well, since you can't really PRODUCE energy (create it out of nothing), you need an energy source. You will really convert an existing type of energy into another one, which is more useful for some purpose.You also need technology to do this energy conversion. What devices you need, will depend on the specific type of energy conversion.


What type is porygon?

Porygon is a normal type. However, Porygon can use the moves Conversion and Conversion 2 to become any type.


How much is500kg in stones?

78 stone 10 pounds. When you need to do a conversion just type, for your example, "500 kg in stones" (without the quotes) into google and you will get your answer. It works for almost any conversion.


Which companies make bed conversion kits?

Assuming that you mean converting a crib to a toddler bed, you have several options. You can seek information from how to websites to create your own conversion or you can usually ask a furniture store representative to direct you to the type of conversion you need.


CAO and CMO are conducted during offensive and defensive operations to set the condition for which type of operations?

stability operations