c랑 php 문자열 길이 ㅋㅋ
<?php
$str = "abc";
echo strlen($str);
--------------------------------------------------
c
#include <stdio.h>
#include <string.h>
int main()
{
char str[3] = "abc";
printf("%d", strlen(str));
return 0;
}
c랑 php 문자열 길이 ㅋㅋ
<?php
$str = "abc";
echo strlen($str);
--------------------------------------------------
c
#include <stdio.h>
#include <string.h>
int main()
{
char str[3] = "abc";
printf("%d", strlen(str));
return 0;
}
자바보다 짧으면 된거야