Question: Write a C program to read and display the first few pieces of data in the given binfile.ddf . The first few pieces of data
- Write a C program to read and display the first few pieces of data in the given binfile.ddf. The first few pieces of data (in sequence) are described below. Fill in the boxes with the data you read from the file.
Data type Data (expected output) Description
char D
char
char
8-bit unsigned int 3 Version
int 124 Number of frames
int Frame rate
int Resolution
int Number of beams
float Sample rate
int 512 Sample per Channel
int Receiver Gain
int 1 Window Start
int 2 Window length
int reverse
int 518 serial number
32 characters string Date
This is Binfile below
!458'5PH[/IMVKWf\XicRu~h_wMF(@/4BS2330R6ON=Xa.?STNNH7<4%=""9AA7JF77LTAANDQB8A[_jeSXhls}m]sxfekemXXq`p\O9U"?.SEC*'G:&9GDAXuZN;AN[0H3?GF#" +%31 *%)41>L=OMU+.@:17HFKOXaRDPQNM^Qd[Ad_InW\_ZOZDQXZXBSFE>.7(FaDALM5#PW)JmlbB=7IQK:@W>>3.4!C.O=@3(%'(@G"RWJBPkrWN]UZV^R=ZXijclrR.IRF>BH=^AHA>S:*87G2@.2:/9)ZIoJZZSL4<&5#.5).;AH.-18 %4GD5)E&DMHQ:Xa;C9YFM7.-XcYZUFA5I8JGX1@29I:KY,94L.WBF.4=RfIR^QpZBaJS;->5$:3A+'& )&E;& .:C;UD=/.VYSg:W4H/[AL^G7%>3+"?KI9/LDkz@(EM5]GE)Y\Xqa_P\X=4FSFL:C=EU=1 2=0 ! 234*%;0# 61C16?<:.L4; ;;!(6CXVULdXA,'--!;6 >=%4>><=/7A+<4-1B,E$)OZwlb^fM~EqjIJlcqqd~xO9;)2HB=+14'8'1C, 8J8!KJD*3MdbzfZbBSbg~yb|\bgW}eDCB5?)AQO0H^62JDLPG923 ! &-116)8-%., #+!C9*(;3=/E>`n1Ss^cKXs^bv^dgcoGCbQq[NDG<>6G;"*#9-$?*51& )"!$ (*&3 -6$&E>A?J=:@LSfe`b[fgRqT?R?CmORqoZfBJ4:_45A4"4*>->8'- 2"!. ! $,2'-1AA>9G19;%--8#Hfd\>r~]ifKGU195,BI>NB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