Hello, World !

Problem Statement

Let’s start with the mandatory ritual. Print the string “Hello, World!”. You can either use printf (preferred for this tutorial) or cout.

printf("Hello, World!");

Sample Output

Hello, World!

Solution

  
#include <iostream>
#include <cstdio>
using namespace std;

int main() {
    printf("Hello, World!");
    return 0;
}


Leave a Reply