mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-16 03:34:53 +02:00
@@ -293,7 +293,7 @@ function_1();
|
|||||||
// <return type> <function name>(<args>)
|
// <return type> <function name>(<args>)
|
||||||
|
|
||||||
int add_two_ints(int x1, int x2){
|
int add_two_ints(int x1, int x2){
|
||||||
return x1 + x2; // Use return a return a value
|
return x1 + x2; // Use return to return a value
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
Reference in New Issue
Block a user