public inbox for libc-alpha@sourceware.org
 help / color / mirror / Atom feed
* NULL pointers
@ 2023-05-09 21:16 André Coelho
  2023-05-09 21:30 ` Arsen Arsenović
  0 siblings, 1 reply; 2+ messages in thread
From: André Coelho @ 2023-05-09 21:16 UTC (permalink / raw)
  To: libc-alpha

Is null pointer , really necessary? because it points to nothing,and the 
program doesnt use it ?? What are they uses?


thanks


andre


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: NULL pointers
  2023-05-09 21:16 NULL pointers André Coelho
@ 2023-05-09 21:30 ` Arsen Arsenović
  0 siblings, 0 replies; 2+ messages in thread
From: Arsen Arsenović @ 2023-05-09 21:30 UTC (permalink / raw)
  To: André Coelho; +Cc: libc-alpha

[-- Attachment #1: Type: text/plain, Size: 363 bytes --]


André Coelho via Libc-alpha <libc-alpha@sourceware.org> writes:

> Is null pointer , really necessary? because it points to nothing,and the
> program doesnt use it ??

Precisely that.  It's used to encode the fact that there's nothing to
point to.

> What are they uses?
>
>
> thanks
>
>
> andre

Have a lovely evening.
-- 
Arsen Arsenović

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 381 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2023-05-09 21:31 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-05-09 21:16 NULL pointers André Coelho
2023-05-09 21:30 ` Arsen Arsenović

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).