Print Elements of Array
Submissions: 5233   Accuracy:

33.46%

  Difficulty: School   Marks: 0
*School Problem's Submission isn't counted in score!

Given an array, print all its elements.

Input:

The first line of the input contains T denoting the total number of testcases. The first line of each testcase contains N denoting the size of array. The second line contains N space separated positive integers denoting the elements of array.


Output:

For each testcase, print all its element in new line.


Constraints:

1<=T<=20
1<=N<=100
1<=a[i]<=100

Example:
Input:
1
5
1 2 3 4 5

Output:
1 2 3 4 5

** For More Input/Output Examples Use 'Expected Output' option **

Author: dipjal1996


If you have purchased any course from GeeksforGeeks then please ask your doubt on course discussion forum. You will get quick replies from GFG Moderators there.



Need help with your code? Please use ide.geeksforgeeks.org, generate link and share the link here.

to report an issue on this page.