-1
Can anyone help me with this code ? not working, can’t find the error.
#include <stdio.h>
int chamar(int *n){
printf("Digite o valor de n:");
scanf("%d",&n);
printf("%d",n);
return 0;
}
int main(void){
int n;
chamar(n);
printf("\n%d\n",n);
}