Challenge: Multi-level Pointers
Завдання
Swipe to start coding
Write a function that sets the integer value pointed to by a double pointer to 10.
- Define a function
void set_to_ten(int **pp);. - The function must set the value of the integer pointed to by
*ppto 10. - Do not print, input, or allocate memory in this function; only set the value.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 11
single
Запитати АІ
Запитати АІ
Запитайте про що завгодно або спробуйте одне із запропонованих запитань, щоб почати наш чат
Чудово!
Completion показник покращився до 9.09
Challenge: Multi-level Pointers
Свайпніть щоб показати меню
Завдання
Swipe to start coding
Write a function that sets the integer value pointed to by a double pointer to 10.
- Define a function
void set_to_ten(int **pp);. - The function must set the value of the integer pointed to by
*ppto 10. - Do not print, input, or allocate memory in this function; only set the value.
Рішення
Все було зрозуміло?
Дякуємо за ваш відгук!
Секція 1. Розділ 11
single