Which one of the following describes the syntax of prolog program?
In Prolog Variables begin with an uppercase letter. Predicate names, function names, and the names for objects must begin with a lowercase letter.
and Rules and facts are terminated by full stop (.)
ans is C
Clause (representing fact or rule) in Prolog is terminated by full stop (.)
Variable names are formed similar to function and predicate names but it must start with upper case letter. Normally, we use X, Y, Z, ... for variables.