Which of the following statements about functional programming is false?
a) You do not need to specify how to iterate through the elements or declare and use any
mutable (that is, modifiable) variables. This is known as internal iteration, because the
library code (behind the scenes) iterates through all the elements to perform the task.
b) A key aspect of functional programming is immutability—not modifying the data
source being processed or any other program state, such as counter-control variables in
loops. This eliminates common errors that are caused by modifying data incorrectly.
c) A filter operation combines the elements of a collection into a single new value,
typically using a lambda that specifies how to combine the elements.
d) A map operation results in a new collection in which each element of the original
collection is mapped to a new value (possibly of a different type). The new collection has
the same number of elements as the collection that was mapped.
c) A filter operation combines the elements of a collection into a single new value,
typically using a lambda that specifies how to combine the elements.