Demo entry 6760776

1

   

Submitted by anonymous on Sep 18, 2018 at 08:52
Language: C. Code size: 118 Bytes.

/* strlen function:返回s的长度  */

int stren(char s[])
{
	int i;

	i=0;
	while (s[i] !='\0')
		++i;
	return i;
}

This snippet took 0.00 seconds to highlight.

Back to the Entry List or Home.

Delete this entry (admin only).