Re: how to use a variable without reference
[comp.lang.c] Ant Franck <nospam@nospam.com> wrote:
> is it possible to call a variable from the main function to a sub
> fuction with out sending as a argument, pointer and can't declare as
> global variable?
Search the archives of this group for the answer, which is "do your
own homework"...
> void main()
....and get a professor with a clue...
> printf("%d", a);
....and terminate your output with a newline.
--
C. Benson Manica | I appreciate all corrections, polite or otherwise.
cbmanica(at)gmail.com |
----------------------| I do not currently read any posts posted through
sdf.lonestar.org | Google groups, due to rampant unchecked spam.
|