I am confused with the declaration of array of Char. How do i declare the array of Char? I want to include if statements for the Char, therefore, there is no definite amount of characters. As stated in my programme, i want to include:
I want to include if statements for the Char, therefore, there is no definite amount of characters.
You need to determine what the maximum number of characters will be, and size the array accordingly. You also need to learn how to copy data into an array. It is NOT done with an equal sign. strcpy() might prove useful. Or strcat().