C declaration styles

Phil Kaufman phil at sci.UUCP
Thu Mar 24 02:13:31 AEST 1988


In article <8695 at tut.cis.ohio-state.edu>, mdf at tut.cis.ohio-state.edu (Mark D. Freeman) writes:
> In <1065 at sask.UUCP> coleman at sask.UUCP (Geoff Coleman @ College of Engineering) writes:
> >> When I write my C functions on my personal computer, my declarations
> >> are often like this :
> >> 
> >>           void foo(int x, double y)
> >
      ...
Declarations for functions are wonderful and avoid many errors but can 
anyone tell me what the effect of the static modifier has in a function
defrinition? I have often seen the following:
       static int foofunction (int, int)
:wq



More information about the Comp.lang.c mailing list