0
Can someone help me with the exercise below?
1) Write a function called update, which has no return (void), which will have four input parameters: (a) a pointer/reference to a structure of type DATA (see below), (b) an integer called day, (c) an integer called month, and (d) an integer called year. This function must update the day, month and year fields of the structure referenced by the first function parameter.
/* Estrutura DATA */
typedef struct
{
int dia;
int mes;
int ano;
} DATA;
/* Assinatura da função atualizar */
void atualizar(DATA* pontData, int dia, int mes, int ano) {