MCQOPTIONS
Saved Bookmarks
| 1. |
Which one of the following is a correct implementation of the meta-predicatenotin PROLOG (Here G represents a goal)? |
| A. | not (G):- !, call(G), fail. not(G). |
| B. | not (G):- call(G), !, fail. not(G). |
| C. | not (G):- call(G), fail, !. not(G). |
| D. | not (G) |
| Answer» C. not (G):- call(G), fail, !. not(G). | |