+ 1

pls explain about this program's funtonality.

#include <iostream> using namespace std; void printArray(int arr[], int size) { for(int x=0; x<size; x++) { cout <<arr[x]<< endl; } } int main() { int myArr[3]= {42, 33, 88}; printArray(myArr, 3); }

25th Sep 2017, 4:25 PM
Shivani Goyal
1 ответ