This commit is contained in:
belfer 2024-05-16 09:30:18 +00:00
parent 6abe1dfcef
commit 3a3b7ca003
1 changed files with 5 additions and 3 deletions

View File

@ -1,6 +1,6 @@
#include <stdint.h>
char * ptr1 = " Dominik P";
char * ptr1 = "Dominik P";
int strlen(char *s)
{
@ -17,9 +17,11 @@ void strcpy(char *s, char *t)
int main() {
char tab [20];
strcpy( tab, ptr1);
uint8_t wynik =0;
wynik = strlen (ptr1);
wynik = strlen (tab);
asm("nop");
}