typedef int SESSO;
#define M 0
#define F 1
/* gli elementi di SESSO saranno scritti M e F */
SESSO LeggiSesso(FILE fin)
{
char c = fgetc(fin);
if(c == 'M') then return M;
else retuen F;
}
void ScriviSesso(FILE fout,SESSO s)
{
if(s == M) fputc(fout,'M');
else fputc(fout,'F');
}