User Tools

Site Tools


c:string.h:strchr

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

c:string.h:strchr [2013/01/22 22:02]
127.0.0.1 external edit
c:string.h:strchr [2024/02/16 01:06] (current)
Line 21: Line 21:
 int main( void ) { int main( void ) {
 char *ptr; char *ptr;
-char string[] = "Find the firs occurrence of a character and count it !";+char string[] = "Find the first occurrence of a character and count it !";
 if( strchr(string,'o') == NULL ) if( strchr(string,'o') == NULL )
   printf( "Cant find o character\n" );   printf( "Cant find o character\n" );

on the occasion of the current invasion of Russia in Ukraine

Russian Stop this War
c/string.h/strchr.1358888560.txt · Last modified: 2024/02/16 01:03 (external edit)

Impressum Datenschutz