We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
*// This line includes the standard input-output stream library, *
include
// which allows us to use 'cout' and 'cin'.
// This line tells the compiler to use the standard namespace.
// So we can directly use 'cout' instead of writing 'std::cout'.
using namespace std;
// Main Function Start...
int main() {
// 'main()' is the entry point of every C++ program.
// The program execution starts from here.
// Output
// This prints the text "Hello, World!" to the
cout << "Hello, World!";
Follow Me Linkedin: www.linkedin.com/in/nayem099
Follow Me GitHub: https://github.com/Nayem-99
screen.
return 0; // This returns 0 to the operating system,
// meaning the program finished successfully.
}
Cookie support is required to access HackerRank
Seems like cookies are disabled on this browser, please enable them to open this website
Say "Hello, World!" With C++
You are viewing a single comment's thread. Return to all comments →
*// This line includes the standard input-output stream library, *
include
// which allows us to use 'cout' and 'cin'. // This line tells the compiler to use the standard namespace. // So we can directly use 'cout' instead of writing 'std::cout'. using namespace std; // Main Function Start... int main() {
// 'main()' is the entry point of every C++ program. // The program execution starts from here. // Output // This prints the text "Hello, World!" to the cout << "Hello, World!";
}