Select all of the following statements that are true.
1. As long as a programmer is careful, there is never a reasonto declare pointer parameters as constant.
2. After a function is finished modifying a structure , the bestway to get the modified structure back too the calling function isto return by copy.
3. Functions should be designed to do one task, preferblywithout having to call other user defined functions.
4. The length of a function doesn't matter , they can be as longas is necessary to accomplish their required tasks
5.Function parameters should be given names that reflect theirpurpose or content.
6. Functions should be given names that reflect what theydo.
Select all of the following statements that are true. 1. As long as a programmer is careful, there is never a reason to
-
- Site Admin
- Posts: 899603
- Joined: Mon Aug 02, 2021 8:13 am