DEV Community

asilbek ibragimov
asilbek ibragimov

Posted on

3 2 2 2 3

Variables

int son; | Declaration - e' lon qilish
son = 11; | Assignment - qiymat o'zlashtirish

int raqam = 12; | initialization - e'lon qilib srazu qiymat berish

int a, b, f, do e, f; | bir xil tipdagi o'zgaruvchilarni bir qatorda e' lon qilish mumkin

int raqam = 15; | error: o'zgaruvchini nomi qayta ishlash mumkin emas

float harorat = 36.6, int x; | Error: bitta qatorda bir nechta xildagi o'zgaruvchini e'lon qilish mumkin emas

O'zgaruvchilar ichidagi xotiralari....!

int -> 4 byte.
float -> 4 byte.
double -> 8 byte.
string -> 32 byte.
char -> 1 byte.

**

Nomlash Qoidalari:
Enter fullscreen mode Exit fullscreen mode

**

  1. Nomda alifbo harflari, ragamlar va underscore(_ ishlatish mumkin.
  2. Nomning birnchi belgisi ragam bo' la olmaydi.
  3. Nomda maxsus belgilar bo' lishi mumkin emas
  4. Maxsus kalit so'zlardan nom sifatida foydalanish mumkin emas.

Top comments (0)

Image of Docusign

🛠️ Bring your solution into Docusign. Reach over 1.6M customers.

Docusign is now extensible. Overcome challenges with disconnected products and inaccessible data by bringing your solutions into Docusign and publishing to 1.6M customers in the App Center.

Learn more

👋 Kindness is contagious

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

Okay