1. Course
  2. Functions A
  3. Function with reference parameters

Function with reference parameters


Last updated: 8/23/2020 Difficulty: Intermediate

Create a function named Double to calculate the double of an integer number, and modify the data passed as an argument. It must be a void function and you must use refererence parameters.

Input

4

Output

8

Solution

Functions A

8 / 9

Android App


Practice C# anywhere with the free app for Android devices.

Android App

Exercises C# by difficulty


Learn C# at your own pace, the exercises are ordered by difficulty.

Make a donation


Your donations support our work and contribute to the maintenance of the app.

Advertising