C# Programming - Datatypes - Discussion
Discussion Forum : Datatypes - General Questions (Q.No. 4)
4.
Which of the following statements is correct?
Discussion:
3 comments Page 1 of 1.
Samir said:
10 years ago
int a = 10;
long b = a; //This is widening conversion small to big.
long b = a; //This is widening conversion small to big.
(2)
Sachin tiwari said:
1 decade ago
A widening conversion changes a value to a data type that can accommodate any possible value of the original data.
(1)
Manjeet said:
1 decade ago
What are widening conversions ?
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers