Afficher un message
Vieux 16/10/2007, 20h56   #4
Christopher Benson-Manica
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut 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.
  Réponse avec citation
 
Page generated in 0,04496 seconds with 9 queries