Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricPengShuai/Interview
/ print
Method
print
base_code/struct_function.cpp:32–34 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
30
public: //显示声明public
31
int v2;
32
static void print(){
33
printf(
"%s\n"
,
"hello world"
);
34
};
35
} B;
36
37
struct Derived:Base {
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected