C'de Dosyalama

/*kayýt giriþi-ekleme*/
#include<stdio.h>
#include<conio.h>
struct kayit_alani
{
char ad[25];
char adres[40];
char tel[[12];
}kayit;
FILE *dosya;
main();
{
dosya=fopen("rehber.dat","a+");
printf("adý soyadi:");
scanf("%s",kayit.ad);
printf("adresi:");
scanf("%s",&kayit.adres);
printf("telefon:");
scanf("%s",6kayit.tel);
fwrite(&kayit,sizeof(kayit),1,dosya);
fclose(dosya)etch();
}