Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
Lære Understanding Variable Scopes | Introduction
C++ Functions

bookUnderstanding Variable Scopes

Opgave

Swipe to start coding

Let's put the analogy with the library discussed in the last chapter into practice:

  • Write down the content of the library book in your home notebook.
  • Read the content of the library book using your home notebook.

Løsning

solution.cpp

solution.cpp

Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

Sektion 1. Kapitel 5
single

single

Spørg AI

expand

Spørg AI

ChatGPT

Spørg om hvad som helst eller prøv et af de foreslåede spørgsmål for at starte vores chat

Suggested prompts:

Opsummér dette kapitel

Explain code

Explain why doesn't solve task

close

Awesome!

Completion rate improved to 5

bookUnderstanding Variable Scopes

Stryg for at vise menuen

Opgave

Swipe to start coding

Let's put the analogy with the library discussed in the last chapter into practice:

  • Write down the content of the library book in your home notebook.
  • Read the content of the library book using your home notebook.

Løsning

solution.cpp

solution.cpp

Switch to desktopSkift til skrivebord for at øve i den virkelige verdenFortsæt der, hvor du er, med en af nedenstående muligheder
Var alt klart?

Hvordan kan vi forbedre det?

Tak for dine kommentarer!

close

Awesome!

Completion rate improved to 5
Sektion 1. Kapitel 5
single

single

some-alt