BUPT-homework/onclass/pointers.c
2021-10-11 15:08:01 +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;
}