Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR C

finding characters in string

#include <stdio.h>
#include <string.h>
int main()
{
     char mystr[30] = "I’m an example of function strchr";
     printf ("%s", strchr(mystr, 'f'));
     return 0;
}
Source by beginnersbook.com #
 
PREVIOUS NEXT
Tagged: #finding #characters #string
ADD COMMENT
Topic
Name
3+5 =