/******************************************************************************
Online C Compiler.
Code, Compile, Run and Debug C program online.
Write your code in this editor and press "Run" button to compile and execute it.
*******************************************************************************/
#include <stdio.h>
int main()
{
int *p_array = (int *)calloc(100, sizeof(int));
for (int i = 0; i < 100; i++) {
p_array[i] = i;
}
for (int i = 50; i < 100; ++i) {
printf("%d ", p_array[i]);
}
return 0;
}