Which is the correct option of the following?int[ ] A = {0,2,4,1,3};for(int i = 0; i a.length; i++){ a[i] = a[(a[i] + 3) % a.length];}#include stdio.hint main() {int a[] = {1, 2, 3, 4};int sum = 0;for(int i = 0; i 4; i++) {sum += a[i];}printf("%d", sum);return 0;}
#includestudio.hVoid main()Int x=2;If(x=4){Printf("x is equal to 4");}else{Printf (" x is not equal to 4");}