DEV Community

Sanjar Rashidov
Sanjar Rashidov

Posted on

Comments

Comments - izoh.

Izoh qoldirishni 2 xil yo'li mavjud:

  1. // - bir qatorli
  2. /* */ - ko'p qatorli
#include <iostream>

using namespace std;

int main()
{
    cout << "Hello World" << endl; // Hello Worldni chop etyapmiz
    /*
    cout - consolega chop etish
    endl - pastki qatorga tushirib yuboradi
    */

    return 0;
}
Enter fullscreen mode Exit fullscreen mode

Top comments (0)