C ++ "Hello, World!" Program | Exam-Lib
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Welcome to our Education website, plz like our page facebook to support us. Thank You and wish you good navigation

C ++ "Hello, World!" Program

abdelouafiApr 6, 2018

    1. abdelouafi

      abdelouafi Administrator Staff Member

      Messages:
      636
      Likes Received:
      14
      Trophy Points:
      18
      Joined
      Sep 13, 2016
      a very simple program to display "Hello, World!" on the screen.
      Goal: this example is used to illustrate the syntax of a programming language.

      Program to Display "Hello, World!"
      Code:
      #include <stdio.h>
      int main()
      {
         // printf() displays the string inside quotation
         printf("Hello, World!");
         return 0;
      }
      Output:

      Code:
      Hello, World!


      How "Hello, World!" program works?
      upload_2018-4-6_11-24-1.png
       
      Loading...

Share This Page

Share