Computer Science, asked by Namanvrqq, 6 months ago

Which one of these is a valid implicit type casting
a. double y= 2*4.6;
b. Int p=8.4*2.4;
c. int y 4.5;
d. float y =d;​

Answers

Answered by namrta4
1

Answer:

TypeCasting in C: Implicit, Explicit with Example

What is Typecasting in C?

Typecasting is converting one data type into another one. It is also called as data conversion or type conversion. It is one of the important concepts introduced in 'C' programming.

'C' programming provides two types of type casting operations:

Implicit type casting

Explicit type casting

Implicit type casting

Implicit type casting means conversion of data types without losing its original meaning. This type of typecasting is essential when you want to change data types without changing the significance of the values stored inside the variable.

Implicit type conversion happens automatically when a value is copied to its compatible data type. During conversion, strict rules for type conversion are applied. If the operands are of two different data types, then an operand having lower data type is automatically converted into a higher data type. This type of type conversion can be seen in the following example.

Answered by therebel44
0

Answer:

sorry I didn't understand your question

Similar questions