Suppose you have the following statement in your program wil

Suppose you have the following statement in your program, will it pass compilation without any error? ANS(1). If an error is showing during the compilation, write down the correct statement in ANS(2)

Solution

Its compiler dependent.

Ans(1): Will it pass compilation without an error? NO.

Ans(2): If an error is showing during the compilation, write down the correct statement. int points = (int)distance;

Ans(3): The name of fixing process: Type casting.

 Suppose you have the following statement in your program, will it pass compilation without any error? ANS(1). If an error is showing during the compilation, wr

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site