Return Statements

Lesson 17
Author : Afrixi
Last Updated : November, 2017


Table of Content

Code

Copyint addNumbers(int num1, int num2);

int main(){
     int sum = addNumbers(4, 60);
     printf("%d \n", sum);

     return 0;
}

int addNumbers(int num1, int num2){
     return num1 + num2;
}