diff options
Diffstat (limited to 'Semestr 4/ask')
-rw-r--r-- | Semestr 4/ask/lista 1/ask21_lista_1.pdf | bin | 0 -> 118889 bytes | |||
-rw-r--r-- | Semestr 4/ask/lista 1/test.c | 11 |
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 Binary files differnew file mode 100644 index 0000000..9afcd65 --- /dev/null +++ b/Semestr 4/ask/lista 1/ask21_lista_1.pdf 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 |