Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- void output(int arr[], int size){
- for(int i = 0; i < size; i++) cout << arr[i];
- }
- int main(){
- cout << "Hello" << endl;
- int x[3] ={1,2,3};
- int y[4] = {1,2,3,4};
- output(x, 3);
- output(y, 4);
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement