Re: Pointers
- From: CBFalconer <cbfalconer@xxxxxxxxx>
- Date: Tue, 07 Aug 2007 14:24:17 -0400
Ben Bacarisse wrote:
.... snip ...
That is only one symptom. You program has quite a few errors.
The reason why it does what you say is actually self-evident in
the code, but it could do almost anything because it exhibits the
dreaded "undefined behaviour" before getting to that part.
<big snip>
for (tmp = emp1; tmp ; tmp = tmp->next)
BOOM!
Now what can you find wrong with that?
--
Chuck F (cbfalconer at maineline dot net)
Available for consulting/temporary embedded and systems.
<http://cbfalconer.home.att.net>
--
Posted via a free Usenet account from http://www.teranews.com
.
- Follow-Ups:
- Re: Pointers
- From: Ben Bacarisse
- Re: Pointers
- From: santosh
- Re: Pointers
- References:
- Pointers
- From: Wabz
- Re: Pointers
- From: Flash Gordon
- Re: Pointers
- From: Wabz
- Re: Pointers
- From: Ben Bacarisse
- Pointers
- Prev by Date: Re: Second largest
- Next by Date: Re: Redirecting perror
- Previous by thread: Re: Pointers
- Next by thread: Re: Pointers
- Index(es):
Relevant Pages
|