A

Admin • 833K Points
Coach

Q. The following code is an example of?

Code:
double da = 4.5;
double db = 4.6;
double dc = 4.9;

//explicitly defined by user
int result = (int)da + (int)db + (int)dc;

printf(""result = %d"", result);
  • (A) Explicit Type Conversion
  • (B) Implicit Type Conversion
  • (C) Error
  • (D) Can not Say
  • Correct Answer - Option(A)
  • Views: 25
  • Filed under category C Programming
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.