Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EricPengShuai/Interview
/ main
Function
main
base_code/virtual_function.cpp:50–55 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
48
};
49
50
int main()
51
{
52
Base *ptr = new Derived;
53
ptr->fun(); // Derived Fun
54
return 0;
55
}
Callers
nothing calls this directly
Calls
1
fun
Method · 0.45
Tested by
no test coverage detected