refactor
This commit is contained in:
@@ -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;
|
||||
}
|
||||
Reference in New Issue
Block a user