Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: added <stdio.h> to compliant example.

...

Code Block
bgColor#ccccff
langc
#include <stdio.h>
#include <string.h>

char *(*fp) (const char *, int);

int main(void) {
  char *c;
  fp = strchr;
  c = fp("Hello",'H');
  printf("%s\n", c);
  return 0;
}

...