DEV Community

Odiljonova
Odiljonova

Posted on

5 1

C++| Variables & Data Types

Asosiy tushunchalar

  • declaration
  • assignment
  • initializatoin

declaration bu o'zgaruvchilarni e'lon qilish
(qiymat kiritilmaydi)

assignment o'zgaruvchilarga qiymat berish

initialization bu declaration va initialization ning bir vaqtda bajarilishi. Ya'ni o'zgaruvcini e'lon qilish vaqtida unga qiymat berib ketadi.

o'zgaruvchi har doim chap tarafda turadi

a = b = c = d; amal o'ngdan chapga qarab amalga oshiriladi.

har bir o'zgaruvchi DATA TYPE ga ega bo'lishi kerak

DATA TYPES

integer types (butun sonlar)
-short
-long
-int

real number type (kasr sonlar)
-float
-double

character type (belgilar)
-char

Top comments (1)

Collapse
 
denim06111991 profile image
denim06111991

Can we get in touch to discuss more on a book that we are planning to update?

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay