Report Bug
Qus : Which assignment causes implicit type conversion?
Qusकौन-सा assignment implicit type conversion करता है?

A. int a = 10;
B. int c = 3.7;
C. char d = 'A';
D. float b = 5.0;


Solution
B. int c = 3.7;



Explanation
The floating-point value 3.7 is implicitly converted to an integer when assigned to c.

3.7 floating-point value को integer variable c में assign करते समय implicit conversion होता है।



Report Bug