What is the primary characteristic that distinguishes a Picat function from a Picat predicate?
-
A
Functions can only be used for mathematical calculations, while predicates handle logic.
-
B
Functions are defined using the `function` keyword, whereas predicates use the `pred` keyword.
-
C
Functions must always succeed and return exactly one value, while predicates can fail, succeed, or provide multiple answers via backtracking.
-
D
Functions cannot call predicates, but predicates can call functions.