MCPcopy 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}
68int 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

createFunction · 0.85
pushFunction · 0.70
peekFunction · 0.70
DisplayFunction · 0.70

Tested by

no test coverage detected