Computer Science, asked by tanvitamrakar7676, 1 year ago

Explain about re of array in memory with an example in c++

Answers

Answered by gajojuashritha
1

#include <stdio.h>
int main()
{
int numbers[5], sum = 0;
Printf( "Enter 5 numbers: ");
for (int i = 0; i < 5; ++i)
{
cin >> numbers[i];
sum += numbers[i];
}
cout << "Sum = " << sum << endl;
return 0;
}


gajojuashritha: welcome
gajojuashritha: Mark me as BRAINLIEST
Answered by lakshayhasj
0
same as given by above person



my is also same


plz mark me as brainliest


hope it will help you
Similar questions