76 306
Assignments Done
98,1%
Successfully Done
In May 2019

Answer to Question #89153 in Mechanical Engineering for Jazab Ali

Question #89153
Dev cpp programme to find "total numbers of array elements".
Expert's answer
#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;
}

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be first!

Leave a comment

Ask Your question

Submit
Privacy policy Terms and Conditions