Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/codemistic/Data-Structures-and-Algorithms
/ main
Function
main
Stack/stack_implementation_using_array.c:68–79 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
66
return -1;
67
}
68
int main()
69
{
70
struct Stack st;
71
create(&st);
72
push(&st, 10);
73
push(&st, 20);
74
push(&st, 30);
75
push(&st, 40);
76
printf(
"%d \n"
, peek(st, 2));
77
Display(st);
78
return 0;
79
}
Callers
nothing calls this directly
Calls
4
create
Function · 0.85
push
Function · 0.70
peek
Function · 0.70
Display
Function · 0.70
Tested by
no test coverage detected