Quote:
Originally Posted by stf92
Hi:
Is it common practice in C to write functions with an input argument such that the caller passes a pointer as the input argument?
|
This is the most common way to pass
struct arguments in C, often with the
const qualifier if the argument isn't going to be changed. This is apparent when you start using Linux/Unix C functions.
Kevin Barry