My issue
here why we have to divide by 4…?
My code
#include <bits/stdc++.h>
using namespace std;
int main() {
int array[6]={ 10,20,30,40,50,60};
cout<< sizeof(array)/4;
return 0;
}
Learning course: Learn C++
Problem Link: CodeChef: Practical coding for everyone