How to get array size from a pointer?

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Keith Thompson

    #31
    Re: How to get array size from a pointer?

    CBFalconer <cbfalconer@yah oo.comwrites:
    Richard Bos wrote:... snip ...
    >>
    >>Even programmers *with* database experience. Oracle, for
    >>example, continues to treat empty string values and nulls
    >>identically , although they have warned (forever) that that
    >>could change some time in the future.
    >>
    >Now, I'm not much of an SQL expert, certainly not compared to
    >the people at Oracle, but... isn't that illegal?
    >
    No, it isn't. First, they can certainly design their own functions
    in any fashion they wish. Second, even if implementing C standard
    functions, this is simply imposing a definition for 'undefined
    behavior' on THEIR system.
    I think Richard's question was about SQL, not about C.

    In the interest of redirecting the question to a more appropriate
    place, <http://en.wikipedia.or g/wiki/Sql_nullseems to provide an
    answer; see 9.1, "Common mistakes".

    --
    Keith Thompson (The_Other_Keit h) kst-u@mib.org <http://www.ghoti.net/~kst>
    Nokia
    "We must do something. This is something. Therefore, we must do this."
    -- Antony Jay and Jonathan Lynn, "Yes Minister"

    Comment

    Working...