g. surgulaZe, g. janeliZe, i. xuciSvili
g. surgulaZe, g. janeliZe, i. xuciSvili
g. surgulaZe, g. janeliZe, i. xuciSvili
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
char *string1 = "1234567890";<br />
char *string2 = "123DC8";<br />
int length;<br />
length = strspn(string1, string2);<br />
printf("Character where strings differ is at position<br />
%d\n", length);<br />
}<br />
getch();<br />
return 0;<br />
strcspn – ganvsazRvroT s2 striqonis simbolos pirveli Sesvla s1<br />
striqonSi.<br />
gansazRvra:<br />
int strcspn(s1,s2)<br />
char *s1, *s2;<br />
magaliTi 12:<br />
#include <br />
#include <br />
#include <br />
#include <br />
int main(void)<br />
{<br />
clrscr();<br />
char *string1 = "1234567890";<br />
char *string2 = "747DC8";<br />
int length;<br />
length = strcspn(string1, string2);<br />
printf("Character where strings intersect is at position<br />
%d\n", length);<br />
}<br />
getch();<br />
return 0;<br />
109