C++ program to print "Hello, World!":
#include <iostream>
int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
Output:
Hello, World!
When you compile and run this program, you will see "Hello, World!" printed to the console. This is achieved by the `std::cout` statement within the `main` function, which outputs the string "Hello, World!" followed by a newline character (`std::endl`).