mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-07-31 12:00:34 +02:00
Fixed typo
"Use return to return a value" instead "Use return a return a value"
This commit is contained in:
@@ -293,7 +293,7 @@ function_1();
|
||||
// <return type> <function name>(<args>)
|
||||
|
||||
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