This commit is contained in:
Joaquin Gottlebe
2025-07-30 15:57:48 +02:00
parent e49fcfac46
commit a639c34cee
273 changed files with 20151 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
#include <stdio.h>
void swap(int* value1, int* value2){
int buffer = *value1;
*value1 = *value2;
*value2 = buffer;
}
int main(){
int x = 4;
int y = 5;
printf("x:%i y:%i\n", x, y);
swap(&x, &y);
printf("swap!\n");
printf("x:%i y:%i\n", x, y);
}