home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.c
- Path: sparky!uunet!darwin.sura.net!jvnc.net!gmd.de!Germany.EU.net!mcsun!sunic!seunet!swbull!hemulen.bull.se!elias
- From: elias@proxxi.se (Elias M}rtensson (proxxi))
- Subject: Re: Functions Within Functions
- Message-ID: <1992Jul30.005417.3305@proxxi.se>
- Organization: proxxi
- References: <Bs5w39.5ox@news.larc.nasa.gov> <1992Jul29.235330.2027@proxxi.se>
- Date: Thu, 30 Jul 1992 00:54:17 GMT
- Lines: 19
-
- >int foo()
- >{
- > int bar( int a ) { return a + 20; }
-
- > printf( bar( 10 ) );
- >}
-
- I am propaly going to get flames for this, but i just had to correct
- my embarrasing mistake:
-
- Line 5 should read:
- printf( "%d\n", bar( 10 ) );
-
- Sorry for wasting bandwidth. It's not going to happen again.
-
- ###################
- # Elias Martenson #
- # elias@proxxi.se #
- ###################
-