Hello, I would like to know why it is not going, I have looked in many places but can not find
in C
#include <stdio.h>
typedef struct ficha_pessoal{
int idade;
char sexo;
int CPF [11];
int CPFc [3];
float salario;
char nome [40];
} FICHA;
int main(){
FICHA x;
x.idade=32;
x.sexo = 'M';
x.nome[40]= "JOSE DA SILVA";
x.salario =850;
x.CPF[1] = {5,3,1,9,8,7,0,0,,1,4,1};
printf("%d",x.CPF[1]);
return 0;
}
Say this in error
|| In function 'main': | | 18 | warning: assignment makes integer from pointer without a cast [enabled by default] | | 20 | error: expected expression before '{' token | || === Build failed: 1 error (s), 1 warning (s) (0 minute (s), 0 second (s)) === |