Function argument question

VLD/VMB gwyn at BRL.ARPA
Fri Aug 9 08:34:19 AEST 1985


> ... a function which takes a character pointer as an input, processes
> the string, returns and integer AND! updates the string pointer in
> the process.

Obviously this cannot be done precisely as stated.  You will have to
pass a POINTER to a character pointer, if you want to modify the
character pointer.  E.g.
	int function( char **strp );



More information about the Comp.lang.c mailing list