Data Types (Type Conversion)
Mushtariy
Posted on October 14, 2024
a) Implicit va Explicit turdagi konversiyalar o'rtasidagi farq nima?
Implicit- kichik hajmdagi qiymatlarni katta hajmdagi qiymat turlariga osonlik bilan o'zgartirish mumkin.
Explicit bu o'zgarish katta hajmdagi qiymatni kichik hajmdagi qiymatga o'zgartirishda amalga oshiriladi. Ular uchun maxsus casting kerak bo'ladi.
b) Quyidagi kod qaysi turdagi konversiyalarni amalga oshiradi?
int x = 10;
double y = x;
int double ga
💖 💪 🙅 🚩
Mushtariy
Posted on October 14, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
watercooler Why does a reboot make your PC run SO much faster than running all the cleaning tools you can possibly imagine?
November 30, 2024