Re: order of a node
- From: NixDragon <bjbdragon@xxxxxxxxx>
- Date: Thu, 6 Nov 2008 22:03:30 -0800 (PST)
On Nov 6, 7:31 pm, George <geo...@xxxxxxxxxxxxxxx> wrote:
On Thu, 6 Nov 2008 17:10:45 -0800 (PST), user923005 wrote:
On Nov 6, 4:42 pm, George <geo...@xxxxxxxxxxxxxxx> wrote:
If the following were part of a standard C program in which this node was
used meaningfully,
25 typedef struct pNode {
26 char *nodeId;
27 struct pSimple *semStats;
28 struct pComplex *sysStats;
29 } pNode, *pNode_ptr;
how many connections to other nodes and to itself would it have?
Zero. The pNode struct has no pointers to type pNode in it.
There will be some other container for the pointers. This is not
enough to establish a list or tree or other useful node structure.
What good is a node of order zero?
Providing trick questions on exams ;)
.
- References:
- order of a node
- From: George
- Re: order of a node
- From: user923005
- Re: order of a node
- From: George
- order of a node
- Prev by Date: Re: order of a node
- Next by Date: Chopard Miglia Tycoon Steel Black Chronograph Mens Watch 16/8961 Collection
- Previous by thread: Re: order of a node
- Next by thread: Re: order of a node
- Index(es):
Relevant Pages
|