How to refine the code semantically ?
#include
#include
#define EXP 52
#define I 52
#define BUFFER_SIZE 1250
char* func_rec(char* v1, int i);
int main(int argc, char argv[]) {
int it_0 = 0;
int it_1 = 0;
int it_e = 0;
int it_x = 0;
int ctr = 0;
char* elem = NULL;
char** res = NULL;
FILE *pFile = NULL;
char *filename = "file.txt";
char buffer[EXP*EXP*I*I] = "";
int buffer_size = BUFFER_SIZE;
size_t str_length = 0;
pFile = fopen("file.txt", "w");
res = (char**) malloc(EXP*EXP*I*I*sizeof(char*));
elem = (char*) malloc(EXP*EXP*I*I*sizeof(char));
for(it_e = 1; it_e