void create_fbeCodeDat() { int checkSum=0; fwrite(&signature,1, 4, bin_fp);//signature=0xabcd0001 fwrite(&version, 1,4,bin_fp);//Version fseek(bin_fp,4,SEEK_CUR); //FBD Program code fseek(bin_fp,2,SEEK_CUR); //not used fwrite(&fbdStepno,1,2,bin_fp); //FBD step No.[N1] fseek(bin_fp,4,SEEK_CUR); //const data offset //Here i have to write the address of next fbdstepno*4+1 bytes //consider fbdstepno=4, here in 4 bytes have to write address of 5th byte address // for ex: next 5th byte adress has to be write ...