Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Simple Function Creation | Introduction
C++ Functions

Simple Function CreationSimple Function Creation

Завдання

Your task is to create a function and call this function in the main() function:

  • Create function signature:
    • specify std::string return type;
    • specify helloWorld as the name of the function
  • Return string "Hello World".
  • Call the function using its name.

Все було зрозуміло?

Секція 1. Розділ 3
toggle bottom row
course content

Зміст курсу

C++ Functions

Simple Function CreationSimple Function Creation

Завдання

Your task is to create a function and call this function in the main() function:

  • Create function signature:
    • specify std::string return type;
    • specify helloWorld as the name of the function
  • Return string "Hello World".
  • Call the function using its name.

Все було зрозуміло?

Секція 1. Розділ 3
toggle bottom row
some-alt