Debian – Read txt file by using fread() function
In this code I am trying to read all the data from the file using the fread() function. The problem is that nothing is read in the array. How can fix the error? #include <stdio.h> void func(const char *srcFilePath) {…