aboutsummaryrefslogtreecommitdiff
path: root/Semestr 4/ask/lista 1
diff options
context:
space:
mode:
authorFranciszek Malinka <franciszek.malinka@gmail.com>2021-03-16 19:33:09 +0100
committerFranciszek Malinka <franciszek.malinka@gmail.com>2021-03-16 19:33:09 +0100
commitff6ee7e5e195321afaf4883b6b289527f1f7a989 (patch)
tree26544c73de6dcf799fe7d0957c527bf4a0dbb8ea /Semestr 4/ask/lista 1
parent5c974d1f80d6bbbcbbe7138fec974a79379702b2 (diff)
parent46dcd7f2e1bc5cf0234c35a4a2fbdf79708ec9e8 (diff)
Merge branch 'main' of https://github.com/korbiniak/wmiuwr into main
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