I have the following code below in a function.
char * stringFiveds = strtok(stringFive[3], "ds");
When I compile i get the warning unused variable.
I don't plan on using srtingFiveds
in this function. I want to use it in main()
. I have two parts to this question.
- How to solve this warning if I don't want to use the
stringFiveds
in this function. - How do I make it accessible in other functions so i can use it in other function i will create.
I'm new to this, can you please be as detailed as possible.