This commit is contained in:
ranwenjie
2021-08-17 17:39:37 +08:00
parent 136b59671d
commit 1841228814
57 changed files with 15 additions and 21 deletions
+10
View File
@@ -0,0 +1,10 @@
#include <stdlib.h>
#include <stdio.h>
int main()
{
int* ptr1,*ptr2;
ptr1 = malloc(sizeof(int));
ptr2 = ptr1;
*ptr2 = 10;
return 0;
}