Notice: This page requires JavaScript to function properly.
Please enable JavaScript in your browser settings or update your browser.
学ぶ Challenge: Clone and Modify | Array Manipulation and Sorting
C# Arrays
セクション 3.  6
single

single

bookChallenge: Clone and Modify

メニューを表示するにはスワイプしてください

タスク

スワイプしてコーディングを開始

Write a program that demonstrates cloning an array and modifying the clone without affecting the original. You will work with integer arrays.

  • The CloneArray function should create a new array that is a copy of the input array and return it.
  • The ModifyArray function should change each element in the provided array by adding 10 to it.
  • The main execution should show that modifying the clone does not change the original array.

解答

Switch to desktop実践的な練習のためにデスクトップに切り替える下記のオプションのいずれかを利用して、現在の場所から続行する
すべて明確でしたか?

どのように改善できますか?

フィードバックありがとうございます!

セクション 3.  6
single

single

AIに質問する

expand

AIに質問する

ChatGPT

何でも質問するか、提案された質問の1つを試してチャットを始めてください

some-alt