Question #260143

Write a function usung c++ statements called print report () which takes two integer arrays

Expert's answer

int report(int arr[], int arr1[]) {
    int l1 = sizeof(arr)/sizeof(*arr);
    int l2 = sizeof(arr1)/sizeof(*arr1);
    return l1+l2;
}

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!

LATEST TUTORIALS
APPROVED BY CLIENTS