9. Array
Sunnat Qayumov
Posted on October 14, 2024
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]);
Javob == 3;
c) 2D array qanday ishlatiladi? Misol keltiring.
class Program
{
static void Main()
{
int[] = `{{1, 2, 3}`, `{4, 5, 6}}`;
}
}
💖 💪 🙅 🚩
Sunnat Qayumov
Posted on October 14, 2024
Join Our Newsletter. No Spam, Only the good stuff.
Sign up to receive the latest update from our blog.
Related
githubcopilot AI Innovations at Microsoft Ignite 2024 What You Need to Know (Part 2)
November 29, 2024