examples/tests

Signed-off-by: ale <ale@manalejandro.com>
Este commit está contenido en:
ale
2025-08-23 13:50:26 +02:00
padre 953c3ad48d
commit 36bee15ae6
Se han modificado 89 ficheros con 1286 adiciones y 0 borrados

15
examples/tests/string_test.c Archivo normal
Ver fichero

@@ -0,0 +1,15 @@
#include <stdio.h>
int main() {
char message[] = "Hello, World!";
char greeting[] = "Hi there";
printf("Message: %s\n", message);
printf("Greeting: %s\n", greeting);
// Test character access
printf("First char of message: %c\n", message[0]);
printf("Last char of greeting: %c\n", greeting[7]);
return 0;
}