Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/CodeWithHarry/The-Ultimate-C-Programming-Course
/ sum
Function
sum
Chapter 6/05_call_by_reference.c:8–11 ·
view source on GitHub ↗
Sum should change the value of x
Source
from the content-addressed store, hash-verified
6
7
// Sum should change the value of x
8
int sum(int* a, int* b){
9
*a = 6;
10
return (*a + *b);
11
}
12
13
int main(){
14
int x = 1, y=6;
Callers
1
main
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected