Challenge: Multi-level Pointers
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 11
single
Pregunte a AI
Pregunte a AI
Pregunte lo que quiera o pruebe una de las preguntas sugeridas para comenzar nuestra charla
Genial!
Completion tasa mejorada a 9.09
Challenge: Multi-level Pointers
Desliza para mostrar el menú
Tarea
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.
Solución
¿Todo estuvo claro?
¡Gracias por tus comentarios!
Sección 1. Capítulo 11
single