aboutsummaryrefslogtreecommitdiff
path: root/Semestr 4/ask/lista 1
diff options
context:
space:
mode:
authorFranciszek Malinka <franciszek.malinka@gmail.com>2021-03-15 18:52:18 +0100
committerFranciszek Malinka <franciszek.malinka@gmail.com>2021-03-15 18:52:18 +0100
commit7f43b8ffb8208086f37b4af0cf9e7d8de7ec8615 (patch)
tree2e84e7b1b9674fa9e970a4fc707a205742ac0992 /Semestr 4/ask/lista 1
parent647fafedf582a892db8b7f2c2858ad1bad3307db (diff)
aktualizacja
Diffstat (limited to 'Semestr 4/ask/lista 1')
-rw-r--r--Semestr 4/ask/lista 1/ask21_lista_1.pdfbin0 -> 118889 bytes
-rw-r--r--Semestr 4/ask/lista 1/test.c11
2 files changed, 11 insertions, 0 deletions
diff --git a/Semestr 4/ask/lista 1/ask21_lista_1.pdf b/Semestr 4/ask/lista 1/ask21_lista_1.pdf
new file mode 100644
index 0000000..9afcd65
--- /dev/null
+++ b/Semestr 4/ask/lista 1/ask21_lista_1.pdf
Binary files differ
diff --git a/Semestr 4/ask/lista 1/test.c b/Semestr 4/ask/lista 1/test.c
new file mode 100644
index 0000000..0f3c11e
--- /dev/null
+++ b/Semestr 4/ask/lista 1/test.c
@@ -0,0 +1,11 @@
+#include <stdint.h>
+#include <stdio.h>
+
+int main()
+{
+ int x;
+ short y;
+ x = -10;
+ y = (short)x;
+ printf("%d %hd", x, y);
+} \ No newline at end of file