Où est l'erreur et comment la corriger?

Fermé
Sofi - 16 déc. 2019 à 15:50
Chris 94 Messages postés 50787 Date d'inscription mardi 8 janvier 2008 Statut Modérateur Dernière intervention 17 février 2023 - 16 déc. 2019 à 15:53
Bonjour,

typedef struct {
int num ;
char sf [11];
} personne ; personne t[10];
.
.
.
.
.
.
.29 switch(c)
30 case 1: t[i].sf='célibataire';
31 break;
.
.
.
.
(build message )
30 error : incompatible types when assigning to type 'char[11]'from type 'int'



Configuration: Windows / Chrome 79.0.3945.79

1 réponse