MCPcopy Create free account
hub / github.com/SR-Sunny-Raj/Hacktoberfest2021-DSA / newNode

Function newNode

06. Sorting/Stack_using_array.cpp:12–18  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10};
11
12StackNode* newNode(int data)
13{
14 StackNode* stackNode = new StackNode();
15 stackNode->data = data;
16 stackNode->next = NULL;
17 return stackNode;
18}
19
20int isEmpty(StackNode* root)
21{

Callers 1

pushFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected