#include <stdio.h>
#include <stdlib.h>
int main() {
int n=1,i,j;
int *ptr;
ptr=(int*)calloc(n,sizeof(int));
for(i=0;i<n;i++){
scanf("%d",ptr+i);
}
for(j=0;j<n;j++){
printf("%d",*(ptr+j));
}
free(ptr);
return 0;
}
To embed this program on your website, copy the following code and paste it into your website's HTML: