Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ Append
Method
Append
Arrays/18_Menu_Based_problem.cpp:59–64 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
57
cout<<A[i]<<
" "
;
58
}
59
void Array::Append(int x)
60
{
61
if(length<size)
62
A[length++]=x;
63
64
}
65
void Array::Insert(int index,int x)
66
{
67
int i;
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected