My issue
the last element is: 6
My code
#include <stdio.h>
int main() {
int powerofTwo[5]= {2,4,8,16,32};
powerofTwo[4]=6;
printf("the last element is: %d\n",powerofTwo[4]);
return 0;
}
Learning course: Data structures & Algorithms lab
Problem Link: https://www.codechef.com/learn/course/muj-dsa-c/MUJDSAC05/problems/CLB088