Report Bug

QusWhich of the following expressions is an example of type conversion? Qusनिम्न में से कौन सा एक्सप्रेशन्स कन्वर्श़न प्रकार का एक उदाहरण है?


A. 4.0 + float(3)
B. 5.3 + 6.3
C. 5.0 + 3
D. 3 + 7


Solution
A. 4.0 + float(3)



Explanation
Type conversion is nothing but explicit conversion of operands to a specific type. Options 5.3 + 6.3 and 5.0 + 3 are examples of implicit conversion whereas option 4.0 + float(3) is an example of explicit conversion or type conversion.
CCC Online Test 2021 CCC Practice Test Hindi Python Programming Tutorials Best Computer Training Institute in Prayagraj (Allahabad) Best Java Training Institute in Prayagraj (Allahabad) Best Python Training Institute in Prayagraj (Allahabad) O Level Online Test in Hindi Bank SSC Railway TET UPTET Question Bank career counselling in allahabad Sarkari Naukari Notification Best Website and Software Company in Allahabad Sarkari Exam Quiz