Lab2Q3 (1).cpp - #include <iostream> using namespace std void printArray(int arr int size for(int i= 0 i< size i cout<arr[i]<\\t cout<endl int main int

Lab2Q3 (1).cpp - #include <iostream> using namespace std...

This preview shows page 1 out of 1 page.

#include <iostream> using namespace std; void printArray(int arr[], int size){ for (int i= 0; i< size; i++) cout<<arr[i]<<"\t"; cout<<endl; } int main(){ int arr[5];
Image of page 1

You've reached the end of your free preview.

Want to read the whole page?

  • Spring '17
  • Return statement, Void type, Carriage return, int size

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

  • Left Quote Icon

    Student Picture

Stuck? We have tutors online 24/7 who can help you get unstuck.
A+ icon
Ask Expert Tutors You can ask You can ask You can ask (will expire )
Answers in as fast as 15 minutes