24 lines
271 B
C++
24 lines
271 B
C++
|
#include <stdint.h>
|
||
|
|
||
|
int strlen(char *s)
|
||
|
{
|
||
|
char *p = s;
|
||
|
while (*p != '\0')
|
||
|
p++;
|
||
|
return p - s;
|
||
|
}
|
||
|
|
||
|
int main(){
|
||
|
|
||
|
|
||
|
char *p1 = "Bogon12313";
|
||
|
char *p2 = "Maks12122";
|
||
|
|
||
|
int8_t name = strlen(p2);
|
||
|
int8_t surname = strlen(p1);
|
||
|
|
||
|
|
||
|
return 1;
|
||
|
}
|
||
|
|