Discussion :: Datatypes - General Questions (Q.No.4)
|Manjeet said: (Jul 19, 2012)|
|What are widening conversions ?|
|Sachin Tiwari said: (Jan 17, 2013)|
|A widening conversion changes a value to a data type that can accommodate any possible value of the original data.|
|Samir said: (Oct 25, 2015)|
|int a = 10;
long b = a; //This is widening conversion small to big.
Post your comments here:
Email : (optional)
» Your comments will be displayed only after manual approval.