10 lines
187 B
C
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;
|
|
}
|