From 7f43b8ffb8208086f37b4af0cf9e7d8de7ec8615 Mon Sep 17 00:00:00 2001 From: Franciszek Malinka Date: Mon, 15 Mar 2021 18:52:18 +0100 Subject: aktualizacja --- Semestr 4/ask/lista 1/ask21_lista_1.pdf | Bin 0 -> 118889 bytes Semestr 4/ask/lista 1/test.c | 11 +++++++++++ 2 files changed, 11 insertions(+) create mode 100644 Semestr 4/ask/lista 1/ask21_lista_1.pdf create mode 100644 Semestr 4/ask/lista 1/test.c (limited to 'Semestr 4/ask/lista 1') 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 Binary files /dev/null and b/Semestr 4/ask/lista 1/ask21_lista_1.pdf 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 +#include + +int main() +{ + int x; + short y; + x = -10; + y = (short)x; + printf("%d %hd", x, y); +} \ No newline at end of file -- cgit v1.2.3