move exercises, lecture examples, labs into subfolders

This commit is contained in:
2023-10-13 16:19:51 +01:00
parent a602f20e01
commit 015b5d6a08
200 changed files with 2 additions and 2 deletions

14
Exercises/C6/ex3.c Normal file
View File

@@ -0,0 +1,14 @@
#include <stdio.h>
int main() {
unsigned int a = 0x60;
unsigned int b = 0x13;
unsigned int r;
r = a & b;
printf("bitwise AND of 0x60 and 0x13: 0x%02x\n", r);
r = a | b;
printf("bitwise OR of 0x60 and 0x13: 0x%02x\n", r);
r = a ^ b;
printf("bitwise XOR of 0x60 and 0x13: 0x%02x\n", r);
}