DEV Community

Mushtariy
Mushtariy

Posted on

Data types

a)Quyidagi oz'garuvchilarni qiymat turlariga ajrating: int, float, string, bool.
int — butun sonlarni saqlash uchun.
double — kasr sonlarni saqlash uchun.
char — belgini saqlash uchun.
string — matnni saqlash uchun.
bool — true yoki false ni saqlash uchun.

b)float va double o'rtasidagi farq nima?
Xotirasida farqi bor float 4byte double 8byte

Top comments (0)

AWS GenAI LIVE image

How is generative AI increasing efficiency?

Join AWS GenAI LIVE! to find out how gen AI is reshaping productivity, streamlining processes, and driving innovation.

Learn more

👋 Kindness is contagious

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

Okay