Q&A Discussions
Pointer in array
0 Votes
2 Answerswhat is tjis code problem!
#include <iostream>
using namespace std;
int main()
{
int b = 5;
int arr[b] = {11, 35, 62, 555, 989};
int sum = 0;
for (int x = 0; x < 5; x++) {
sum += arr[x];
}
cout << sum << endl;
return 0;
}
I cannot make an array using int variable in order to define array's element number!?
1 Vote
7 AnswersJagged array
2 Votes
6 AnswersWhat is the array means?
0 Votes
4 Answersarray examples
1 Vote
5 AnswersHot today
code coach
2 Votes
How do I do audio
0 Votes
Flutter
0 Votes
PYTHON AND JAVA
0 Votes
Lua?
1 Votes
Query about A.I.
0 Votes