Code://Plz sort out my problem #include<stdio.h> struct student { int num; char name[20]; }; int main(void) { struct student p; p.num=3; p.name="dilipkumar"; //whats wrong with this statement?? //how to initialise char array directly with string? FILE *fp; fp=fopen("cdk.txt","w"); fwrite(&p,sizeof(struct student),1,fp); fclose(fp); return 4; }