Skip to content
Snippets Groups Projects
Commit f6b0ddad authored by Hazal2.Veziroglu@live.uwe.ac.uk's avatar Hazal2.Veziroglu@live.uwe.ac.uk
Browse files

Update 6 files

- /worksheet0/.gitkeep
- /worksheet0/foo.txt
- /worksheet0/task1_pointer
- /worksheet0/task1_pointer.c
- /worksheet0/task1_pointer.dSYM.zip
- /worksheet1/.gitkeep
parent 24ed0420
Branches
No related tags found
No related merge requests found
10
20
30
40
54
File deleted
#include <stdio.h>
int main() {
int n = 10;
int *ptr_to_n = &n;
// Increment the value of n using the pointer
(*ptr_to_n)++;
printf("Value of n after increment: %d\n", n);
return 0;
}
File deleted
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment