DEV Community

Mushtariy
Mushtariy

Posted on

Array

a)Array nima?
Array bu bir xil turdagi ma'lumotlarni ketma-ket joylashgan holda saqlashga imkon beruvchi tuzilma.

b) Quyidagi kodning natijasini ayting:

int[] numbers = {1,2,3,4,5};
Console.WriteLine(numbers[2]);
Enter fullscreen mode Exit fullscreen mode

Javob:3;

c) 2D array qanday ishlatiladi? Misol keltiring.

2 tali array
misol: int a[][] = -------;

Top comments (0)

Sentry image

See why 4M developers consider Sentry, “not bad.”

Fixing code doesn’t have to be the worst part of your day. Learn how Sentry can help.

Learn more

👋 Kindness is contagious

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

Okay