Free help with homework

Why join Brainly?

  • ask questions about your assignment
  • get answers with explanations
  • find similar questions

Write a c program for storing a single word. Based on the character in the word make such an array where all combinations of characters will be available.



Void makeWordList (char *fileName)
FILE *inputFile; 
 char ch; 
int index = 0;
  inputFile = fopen (fileName, "r");
  ch = fgetc (inputFile); 
while (ch != EOF) { if (ch != '\n')

  if (index >= CHAR_LIMIT)

printf ("Character limit reached. Exiting program.\n");

exit (0);

then create two files in array then use this code 

 void compareFiles (char *fileName1, char* fileName2) {   }
0 0 0
The Brain
  • The Brain
  • Helper
Not sure about the answer?
Learn more with Brainly!
Having trouble with your homework?
Get free help!
  • 80% of questions are answered in under 10 minutes
  • Answers come with explanations, so that you can learn
  • Answer quality is ensured by our experts