cplusplus
.com
TUTORIALS
REFERENCE
ARTICLES
FORUM
C++
Tutorials
Reference
Articles
Forum
Forum
Beginners
Windows Programming
UNIX/Linux Programming
General C++ Programming
Lounge
Jobs
Forum
Beginners
Function at Top vs at the Bottom?
Function at Top vs at the Bottom?
Oct 5, 2010 at 10:59pm UTC
knighthonor
(3)
Can somebody explain the difference and effect of creating the Function at the bottom vs Top please?
I am a bit confused.
Oct 5, 2010 at 11:06pm UTC
Galik
(2254)
There is no difference. A function works the same whatever position it is in the file. The only thing to remember is that a function must have been
declared
before it is used.
Last edited on
Oct 5, 2010 at 11:07pm UTC
Oct 6, 2010 at 12:14am UTC
knighthonor
(3)
Thanks.
Topic archived. No new replies allowed.