#include <stdio.h>
#include<stdlib.h>

void main()
{
    int *ptr;
    ptr = (int*)malloc(4*sizeof(int));
    for(int i =0;i<5;i++)
    {
      scanf("%d",(ptr+i));
    }
    printf("%d",ptr[0]);
    
}

Embed on website

To embed this project on your website, copy the following code and paste it into your website's HTML: