Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/changkun/modern-cpp-tutorial
/ main
Function
main
code/2/2.2.cpp:20–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
18
}
19
20
int main() {
21
char arr_1[10];
22
23
char arr_2[LEN];
24
25
const int len = 10;
26
char arr_3[len];
27
28
char arr_5[len_foo()+5];
29
30
std::cout << fibonacci(10) << std::endl;
31
// 1, 1, 2, 3, 5, 8, 13, 21, 34, 55
32
33
return 0;
34
}
Callers
nothing calls this directly
Calls
2
len_foo
Function · 0.85
fibonacci
Function · 0.85
Tested by
no test coverage detected