renaming labs

This commit is contained in:
Jidong Xiao
2025-01-07 17:16:10 -05:00
parent ad8bdb01ee
commit 190e7fd7f4
18 changed files with 1071 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
int pear = 3;
int* apple;
int banana[pear];
int* orange;
apple = new int[pear];
orange = &banana[1];
apple[0] = 6;
apple[1] = 7;
apple[2] = 8;
*orange = 5;