diff --git a/AY 2022-2023/Student Works/elenazdravkoska/pointer.c b/AY 2022-2023/Student Works/elenazdravkoska/pointer.c new file mode 100644 index 00000000..1abb2b2b --- /dev/null +++ b/AY 2022-2023/Student Works/elenazdravkoska/pointer.c @@ -0,0 +1,14 @@ + #include +int main(){ + int a=12, b=6; + int *p1, *p2; + + p1=&a; + p2=&b; + printf("%d \n", *p1 + *p2); + printf("%d \n", (*p1) * (*p2)); + printf("%d \n", *p1 - *p2); + printf("%d \n", *p1 / *p2); + + +}