Dev cpp programme to find "total numbers of array elements".
1
Expert's answer
2019-05-07T08:15:58-0400
#include <iostream>
using namespace std;
int main() {
int arr[] = {2, 4, 5, 6, 7, 8}; //it is possible to set N numbers
int N = sizeof(arr) / sizeof(arr[0]);
cout << N;
return 0;
}
Numbers and figures are an essential part of our world, necessary for almost everything we do every day. As important…
APPROVED BY CLIENTS
"assignmentexpert.com" is professional group of people in Math subjects! They did assignments in very high level of mathematical modelling in the best quality. Thanks a lot
Comments
Leave a comment