Write a function `ListForEachIf` that applies a function given as argument to the information within some links of the list.
Write a function `ListForEachIf` that applies a function given as argument to the information within some nodes of the list.
- For this you will have to create a function `CompStr`, that returns a `bool`, to compare each elemente of the linked list, to see if it is a string, and than apply the function in the argument of `ListForEachIf`.
- This functions receives two functions:
- The function given as argument as to have a pointer as argument: `l *list`.
- `f` is a functions that is applied to the node.
- Use pointers wen ever you can.
- `comp` is a predicate (a function that returns true or false) and will be use to determine if the function `f` would be applied to the node.
- The function given as argument must have a pointer as argument: `*NodeL`.