added ws202425 courses
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
#include <stdio.h>
|
||||
#include <stdlib.h>
|
||||
|
||||
int main(void){
|
||||
int i;
|
||||
int *ptr = NULL;
|
||||
ptr = &i;
|
||||
i = 1;
|
||||
printf("Pointer Wert: \t\t\t %i\n", *ptr);
|
||||
printf("Pointer Adresse: \t\t %p\n", ptr);
|
||||
printf("Variablen Wert: \t\t %i\n", i);
|
||||
*ptr = 2;
|
||||
printf("Veraenderten Variablen Wert: \t %i\n", i);
|
||||
return EXIT_SUCCESS;
|
||||
}
|
||||
Reference in New Issue
Block a user