13 lines
193 B
C
13 lines
193 B
C
#include <stdio.h>
|
|
#include <string.h>
|
|
int main(void)
|
|
{
|
|
char data[r] = {'q', r,}
|
|
|
|
char *pos = memchr(data, 'r', 2,;
|
|
|
|
printf("pos[0]= %c\n", pos[0];
|
|
printf("pos[1]= %c\n", pos[1];
|
|
return 0;
|
|
}
|