Logo

dev-resources.site

for different kinds of informations.

C++| Variables & Data Types

Published at
4/28/2022
Categories
beginners
cpp
uzbek
Author
odiljonova
Categories
3 categories in total
beginners
open
cpp
open
uzbek
open
Author
10 person written this
odiljonova
open
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

Featured ones: