There is no mistake. I could rewrite your code to make it clear:
#include <iostream>
using namespace std;
int main()
{
std:
cout << "hello" "\n";
}
A label with a name has been created std. coutused by unskilled, this is normal since there is a pointer to it above it std. And you can combine string literals by writing them next to each other, just like you. This is a well-formed code that prints "hello" and then a new line.
Barry source
share