#include <stdio.h>
int main(void)
{
int myArr[5] = {100, 200, 300, 400, 500};
printf("Trying to read out of bound index.\n");
printf("Array Element is : %d\n", myArr[4]);
}
Posted inC Programming
#include <stdio.h>
int main(void)
{
int myArr[5] = {100, 200, 300, 400, 500};
printf("Trying to read out of bound index.\n");
printf("Array Element is : %d\n", myArr[4]);
}