Clipper Programming Question:
Download Questions PDF

Why use references rather than pointers in the public API, particularly for arguments which are modified?

Answer:

The C++ provides the most precise statement of the priciples:
No pointers in the public API, except when returning a pointer which might be null. The above reference also describes the problem of wrong attitudes brought over from C.

Download Clipper Interview Questions And Answers PDF

Previous QuestionNext Question
Why C++ used in Clipper?Can I use Fortran/C/Python/Visual Basic?