In Picat, what is the scope of a variable assigned inside a `foreach` loop body?
-
A
It is local to each loop iteration only
-
B
It is visible in the enclosing function after the loop ends
-
C
It is global across all functions
-
D
Variables cannot be assigned inside foreach bodies