Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Oct 2007 20:44:52 +0200
From:      Harald Schmalzbauer <h.schmalzbauer@omnisec.de>
To:        freebsd-questions@freebsd.org
Subject:   Mentor for C self study wanted
Message-ID:  <200710232044.53240.h.schmalzbauer@omnisec.de>

next in thread | raw e-mail | index | archive | help
--Boundary-00=_lEkHH7/TPp326M0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

Hello,

I'm abaout to learn C (really learn it, not just to be able to tinker arround 
with).
So I bought a book which has some practices in each chapter.
Now I wrote the little programs and they were almost correct, but the things 
going wrog aren't explained in that book.
Probably it has to do with the compiler, at least it was the case in one 
example.

So I wanted to ask if somebody could be so kind and answer me occasional 
questions by private mail.
The first one was for example the attached code: Why does it segfault?

Thanks in advance,

-Harry

P.S. I will change comment language of course. I'm UTC -1

--Boundary-00=_lEkHH7/TPp326M0--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200710232044.53240.h.schmalzbauer>