English

What are the types of casting shown in the following examples? double x = 15.2; int a = 12; int y = (int) x; - Computer Applications

Advertisements
Advertisements

Question

What are the types of casting shown in the following examples? 

double x = 15.2; int a = 12; 

int y = (int) x;

One Line Answer

Solution

Explicit type casting

shaalaa.com
  Is there an error in this question or solution?
Chapter 1.03: Values and Data Types - Review Insight [Page 31]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 1.03 Values and Data Types
Review Insight | Q 12. (i) | Page 31
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×