Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricPengShuai/Interview
/ print
Method
print
base_code/struct_function.cpp:15–17 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
13
public: // 显示声明public
14
int v2{};
15
static void print(){
16
printf(
"%s\n"
,
"Base hello world"
);
17
};
18
Base() {
19
cout<<
"Base construct"
<<endl;
20
};
Callers
1
main
Function · 0.45
Calls
no outgoing calls
Tested by
no test coverage detected