Arrays:



main()
{
    int r[5];
    int k;

    clrscr();

    r[0]=10;
    r[1]=9;
    r[2]=12;
    r[3]=42;
    r[4]=19;

    for(k=0;k<=4;k++)
    {
      printf("\n %d",r[k]);
    }
getch();
}

Output: