Perhaps you meant to print the string instead of the character it points to - and here's my 2c.

#include <stdio.h>

void testfunc(const char *ray[][12])
{
printf("%s\n",ray[0][2]);
}
...