Files
Learn-Algorithms/Algorithms Job Interview/测试代码/28.c
T
2017-04-01 17:37:30 +08:00

10 lines
187 B
C

#include <stdlib.h>
#include <stdio.h>
int main()
{
int* ptr1,*ptr2;
ptr1 = malloc(sizeof(int));
ptr2 = ptr1;
*ptr2 = 10;
return 0;
}