Cpp Examples Cout Helloworld
# C++ Example - Output "Hello, World!"
[ C++ Example](#)
Using C++ to output the string "Hello, World!" is just a simple introductory example, requiring the use of the **main()** function and standard output **cout**:
## Example
#includeusing namespace std; int main(){cout<<"Hello, World!"; return 0; }
The output of the above program is:
Hello, World!
[ C++ Example](#)
YouTip