Birinchi dars C++ kirish

zafar7709

zafar7709

Posted on March 9, 2024

Birinchi dars C++ kirish
#include <iostream>

using namespace std;
int main() 
{
    cout << "Hello World!" << endl;
    return 0;
}

Enter fullscreen mode Exit fullscreen mode

#include input output stream - kirtish va chiqarish oqimni boshqarish.
int main() Bu dasturni boshlash uchun asosiy funksiya. Dastur boshlandi va tugadi bo'lganda ishlatiladi.
cout << "Hello, World!" << endl;: Bu qatlamada matn "Hello World!" konsolga chiqariladi.
return 0;: Dastur muvaffaqiyatli tugadi bo'lganda 0 qaytariladi.

💖 💪 🙅 🚩
zafar7709
zafar7709

Posted on March 9, 2024

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related