na 5
This commit is contained in:
parent
6abe1dfcef
commit
3a3b7ca003
|
@ -1,6 +1,6 @@
|
||||||
#include <stdint.h>
|
#include <stdint.h>
|
||||||
|
|
||||||
char * ptr1 = " Dominik P";
|
char * ptr1 = "Dominik P";
|
||||||
|
|
||||||
int strlen(char *s)
|
int strlen(char *s)
|
||||||
{
|
{
|
||||||
|
@ -17,9 +17,11 @@ void strcpy(char *s, char *t)
|
||||||
|
|
||||||
int main() {
|
int main() {
|
||||||
|
|
||||||
|
char tab [20];
|
||||||
|
strcpy( tab, ptr1);
|
||||||
|
|
||||||
uint8_t wynik =0;
|
uint8_t wynik =0;
|
||||||
wynik = strlen (ptr1);
|
wynik = strlen (tab);
|
||||||
|
|
||||||
asm("nop");
|
asm("nop");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue