.A(n) ____________ conversion occurs when C# converts one data type to another and the programmer has not provided code to perform the conversion.

a.explicit

b.implicit

c.narrowing conversion

d.widening

Respuesta :

Answer:

The correct answer for the given question is option(b) i.e "Implicit conversion".

Explanation:

Implicit conversion converts one datatype to another without forcefully .it convert the one datatype to another automatically.The implicit type is a type safe  conversion .

For  example

int i = 57;  

float f = l;  // convert i to f without  forcefully.

The explicit conversion converts one datatype to another forcefully .This type of conversion is not a type safe conversion.

double d = 765.12;  

int i = (int)d;  // convert d to i forcefully

so the correct option is option(b).