Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <stdio.h>
- int addOne(int input) {
- input++;
- return input;
- }
- int main() {
- int number = 5;
- int result;
- result = addOne(number);
- printf("The number %d\n", result);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement