Accessing array element like this

PHOTO EMBED

Sat Apr 13 2024 07:21:37 GMT+0000 (Coordinated Universal Time)

Saved by @HTPrince

#include<stdio.h>
int main(){

    int myArray[5]={5,2,4,6,9};
    for(int i =0;i<5;i++){
        printf("value of this array is:%d\n",i,myArray[i]);
    }
return 0;
}
content_copyCOPY