I am having problems with a program I am writing. Write a program to read 2 integers. Then call a function to add them together
and return the result. Display the result from the "main" program. How would I go on doing this?
avalloc
0
Newbie Poster
Recommended Answers
Jump to PostHave a look at this tutorial on functions; http://www.cprogramming.com/tutorial/lesson4.html
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.