COMP2113
COMP2113_ENGG1340 Programming technologies and Computer programming II [Section 2BC] [2023]
Loading...
Searching...
No Matches
3.h
Go to the documentation of this file.
1
#ifndef _3_H
2
#define _3_H
3
4
struct
listNode
{
5
int
data
;
// Data stored in the node
6
struct
listNode
*
next
;
// Pointer to the next node
7
};
8
typedef
struct
listNode
ListNode
;
9
10
double
findAverageCycleLength
(
ListNode
* arrPtr,
int
n);
11
12
#endif
findAverageCycleLength
double findAverageCycleLength(ListNode *arrPtr, int n)
Definition
3.c:4
listNode
Definition
3.h:4
listNode::data
int data
Definition
3.h:5
listNode::next
struct listNode * next
Definition
3.h:6
Assignment4
P3
3.h
Generated on Sun Sep 29 2024 16:39:53 for COMP2113 by
1.12.0