Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

In this noncompliant example, the pointer to the C Standard Library function strchr() is declared with the correct arguments.  This code still exhibits the same undefined behavior, but most compilers will warn that the arguments passed to fp do not match its declaration.

...