How to modify the contents of a root using a pointer?
Type a code in C that uses a variable named 'root', has the type 'float' and has the initial value number 3.1415.
In this same code, use another variable named 'point_to_race' to store the memory address of the above-mentioned 'root' variable.
Lastly, modify the contents of the 'root' variable by using the 'point_to_race' variable so that the 'root' value is 3.141592. At the end of the code, use printf to print the value of the 'root' variable on the screen.
From 3.1415 to 3.141592
#include <stdio.h>
int main()
{
float raiz = 3.1415;
int *aponta_para_raiz;
printf(" RAIZ = %f\n", raiz );
printf (" RAIZ MODIFICADA = %d", *aponta_para_raiz);
return 0;
}