Computer Science, asked by queenkhushi79, 9 months ago

double x = 123.78;
int y = (int)x ; pls tell me that which type of casting is shown by the example . Implicit or Explicit ...pls tell​

Answers

Answered by anindyaadhikari13
3

<hr/>

It is an example of explicit type casting.

There are two types of casting.

  1. Implicit type casting and
  2. Explicit type casting.

<hr/>

Similar questions