diff --git a/works/C(system program)/## 2.md b/works/C(system program)/## 2.md new file mode 100644 index 0000000..cefa361 --- /dev/null +++ b/works/C(system program)/## 2.md @@ -0,0 +1,14 @@ +## fdsf +```C +#include +#include +void main(){ + uint32_t magic = 0xAABBCCDD; + uint8_t*byte_ptr = (uint8_t*) & magic ; + printf("Byte 0: 0x%02X\n", byte_ptr[0]); + printf("Byte 1: 0x%02X\n", byte_ptr[1]); + printf("Byte 2: 0x%02X\n", byte_ptr[2]); + printf("Byte 3: 0x%02X\n", byte_ptr[3]); +} + +``` \ No newline at end of file diff --git a/works/C(system program)/readme — копия.md b/works/C(system program)/readme — копия.md new file mode 100644 index 0000000..b2bf999 --- /dev/null +++ b/works/C(system program)/readme — копия.md @@ -0,0 +1,7 @@ +### Ex 1 +![solution ex1](2.1.png) + +### Ex 2 +![solution ex2](2.2.png) + + diff --git a/works/C(system program)/readme2.md b/works/C(system program)/readme2.md new file mode 100644 index 0000000..b2bf999 --- /dev/null +++ b/works/C(system program)/readme2.md @@ -0,0 +1,7 @@ +### Ex 1 +![solution ex1](2.1.png) + +### Ex 2 +![solution ex2](2.2.png) + +