Question : finding characters in string
Answered by : cautious-cobra-po02tp82c3h4
#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 : https://beginnersbook.com/2014/01/c-strings-string-functions/ | Last Update : Wed, 05 Jan 22