Use whatever you want unless your homework (and this is clearly homework) requires a specific control structure. There's not a single way to accomplish most programming problems, so you need to figure out which ones will work and choose between them.
As a beginner in C, you DEFINITELY want to use an array of chars for the words:
Where NumberOfWords could be just a few hundred or 40,000 or more. There are very few English words that are longer than 39 letters, (save 1 space for the end of string char), outside of scientific nomenclature.
You'll want to declare this array above main(), to get global memory (heap), not try to use the smaller stack inside a function, for it.
Word lists are available on the net, btw. A single word can then be referenced with
words, in a loop, like:
while((fscanf(YourFilePointer, "%s", words[i]))>0)
I have a 2d matrix with dimension (3, n) called A, I want to calculate the normalization and cross product of two arrays (b,z) (see the code please) for each column (for the first column, then the second one and so on).
the function that I created to find the ...
Write a C program that should create a 10 element array of random integers (0 to 9). The program should total all of the numbers in the odd positions of the array and compare them with the total of the numbers in the even positions of the array and indicate ...