BUPT-homework/pointers.c
2021-10-09 10:03:10 +08:00

11 lines
152 B
C

#include <stdio.h>
#include <string.h>
int main(void) {
// initialize pointer variables
int i = 1;
int *p1 = &i;
printf("%i", *p1);
return 0;
}