projects
/
susannes-git
/
c-zeug
/
starting-c.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3fef9c9
)
added intarray-run
author
tomás zerolo
<tomas@tuxteam.de>
Sun, 29 Jun 2025 13:48:54 +0000
(15:48 +0200)
committer
tomás zerolo
<tomas@tuxteam.de>
Sun, 29 Jun 2025 13:48:54 +0000
(15:48 +0200)
intarray-run.c
[new file with mode: 0644]
patch
|
blob
diff --git a/intarray-run.c
b/intarray-run.c
new file mode 100644
(file)
index 0000000..
8bb2753
--- /dev/null
+++ b/
intarray-run.c
@@ -0,0
+1,17
@@
+#include <stdio.h>
+
+int main(int argc, char *argv[])
+{
+ int bla[] = {10, 20, 30, 40, 50};
+ int *blo; // Zeiger auf Char
+ int i;
+
+ blo = bla;
+
+ printf("size of int = %d\n", sizeof(i));
+ for(i=0 ; i<5 ; i++)
+ {
+ printf("%d\n", *blo);
+ blo++;
+ }
+}