Comparing pointers in C and D

Ali Çehreli acehreli at yahoo.com
Thu Feb 16 06:54:04 UTC 2023


On 2/15/23 22:56, Paul Backus wrote:

> "For the purposes of these operators, a pointer to an object that is not 
> an element of an array behaves the same as a pointer to the first 
> element of an array of length one with the type of the object as its 
> element type."
> 
> http://port70.net/~nsz/c/c11/n1570.html#6.5.6p7

That's helpful. Thanks! :)

Ali



More information about the Digitalmars-d mailing list