Cool error
This commit is contained in:
parent
1a976933df
commit
9c0ac1473c
1 changed files with 6 additions and 0 deletions
|
|
@ -8,4 +8,10 @@ main() {
|
|||
printf("x: %d\n", x);
|
||||
printf("p: %x\n", p);
|
||||
printf("*p: %d\n", *p);
|
||||
|
||||
const char* str = "Pointers";
|
||||
for (char* p = str; p++; *p != 0) {
|
||||
printf("%c", *p);
|
||||
}
|
||||
printf("\n");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue