... is floating-point data. In addition, the formatted I/Ofunctions also recognize %d for decimal integers, %x for hexadecimals, %c for characters,and %s for character strings.The function fwrite ... opens the file for reading and the mode`w' opens a new file for writing. Appending a character b to the mode string, such as `rb'and `wb', is used to open a binary formatted data ... contains the desired data. For example, to openthe ASCII data file infile.dat for reading, we can usefpin fopen("infile.dat","r"); For data files in ASCII format, the mode `r'...