mirror of
https://github.com/theoleuthardt/learningC.git
synced 2026-06-13 09:37:53 +00:00
Initial commit
This commit is contained in:
commit
826d4c8c9d
81 changed files with 7268 additions and 0 deletions
18
uebung5/aufgabe1.c
Normal file
18
uebung5/aufgabe1.c
Normal file
|
|
@ -0,0 +1,18 @@
|
|||
#include <stdio.h>
|
||||
|
||||
int main(){
|
||||
int i = 10;
|
||||
int *j = &i;
|
||||
char a = 'a';
|
||||
char *b = &a;
|
||||
double d = 9.23334;
|
||||
double *e = &d;
|
||||
|
||||
printf("%p\n", j);
|
||||
printf("%d\n", *j);
|
||||
printf("%p\n", b);
|
||||
printf("%c\n", *b);
|
||||
printf("%p\n", e);
|
||||
printf("%f\n", *e);
|
||||
return 0;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue