13. Operators(Advanced)
Sunnat Qayumov
Posted on October 14, 2024
a) += operatori qanday ishlaydi? Misol keltiring.
Javob: x += y == x = x + y;
b) ++ operatori qanday ishlaydi? Post-increment va pre-incrementni tushuntiring.
Post-increment operatori o‘zgaruvchini avval
qaytaradi, so‘ngra uning qiymatini 1 ga oshiradi
Pre-increment:
Bu o‘zgarishlarning turli holatlarda qanday
natija berishini hisobga olgan holda, to‘g‘ri
qo‘llanishi muhimdir.
💖 💪 🙅 🚩
Sunnat Qayumov
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
githubcopilot AI Innovations at Microsoft Ignite 2024 What You Need to Know (Part 2)
November 29, 2024