Run ❯
×
Change Orientation
Change Theme, Dark/Light
Go to Spaces
#include
using namespace std; int main() { int myNumbers[5] = {10, 20, 30, 40, 50}; int getArrayLength = sizeof(myNumbers) / sizeof(int); cout << getArrayLength; return 0; }
5