aboutsummaryrefslogtreecommitdiff
path: root/Semestr 4/ask/lista 1
diff options
context:
space:
mode:
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