Code does not compile if it is a narrowing operation. Ex: short x;short y;short z = x+ yThis fails during compilation, does it mean that memory is allocated at compile time that why it fails?
Code does not compile if it is a narrowing operation.
ReplyDeleteEx:
short x;
short y;
short z = x+ y
This fails during compilation, does it mean that memory is allocated at compile time that why it fails?