Simple Function Creation
Opgave
Swipe to start coding
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
- specify
- Return string "Hello World".
- Call the function using its name.
Løsning
solution
Var alt klart?
Tak for dine kommentarer!
Sektion 1. Kapitel 3