MCPcopy Create free account
hub / github.com/AdvancedCompiler/AdvancedCompiler / display

Function display

code/Chapter8/8-23.c:43–50  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41 return p;
42}
43void display(Node* p) {
44 Node* temp = p;//将temp指针重新指向头结点
45 while (temp->next) {
46 temp = temp->next;
47 printf("%d ", temp->Element);
48 }
49 printf("\n");
50}
51int selectElem(Node* p, int M) {
52 Node* temp;
53 for (; p->next; p = p->next) {

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected