15 lines
241 B
C
15 lines
241 B
C
|
#include <stdio.h>
|
||
|
#include <string.h>
|
||
|
|
||
|
void main()
|
||
|
{
|
||
|
char buffer[80];
|
||
|
char *where;
|
||
|
|
||
|
strcpy( buffer, "video x-rays" );
|
||
|
where = strchr( buffer, 'x' );
|
||
|
if( where == NULL ) {
|
||
|
printf( "'x' not found\n" );
|
||
|
}
|
||
|
}
|