Find the output of the code :-
#include iostream
using namespace std;

int main() {
int P[4] = {10, 14, 8, 12};
int j = 0;
for(int i = 0; i4;i++){
if(P[i] = 10){
j++;
}
else j;
}
coutj;
return 0;
}

Posted on by