Pointer Arithmetic Practice
Завдання
Swipe to start coding
- Create a pointer that points to the first variable.
- Find the distance between memory locations of this two variables.
- Using the pointer arithmetic move the pointer to the location of the second variable.
- Modify the value of dereferenced pointer to
50
and output the second variable.
Рішення
solution.cpp
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 2. Розділ 2
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Awesome!
Completion rate improved to 5.88
Pointer Arithmetic Practice
Свайпніть щоб показати меню
Завдання
Swipe to start coding
- Create a pointer that points to the first variable.
- Find the distance between memory locations of this two variables.
- Using the pointer arithmetic move the pointer to the location of the second variable.
- Modify the value of dereferenced pointer to
50
and output the second variable.
Рішення
solution.cpp
Все було зрозуміло?
Дякуємо за ваш відгук!
Awesome!
Completion rate improved to 5.88Секція 2. Розділ 2
single