Audit a set of function interfaces

A C17 program contains these prototypes, with matching implementations supplied elsewhere:


C
int encode_count(int count);
void report_count(int count);
int fixed_count(void);


Each option is an independent proposed addition, placed in an appropriate scope. Select every addition permitted by strict C17 function declaration, call, and return rules.

Choose an answer

Create a free account to get started

Unlock full course notes by signing up

  • Video lessons taught by top educators
  • Practice questions with guided solutions
  • Written review notes for reference
  • Expert answers anytime from course tutors

More Functions and Void Return Types Questions: