daily pastebin goal
62%
SHARE
TWEET

Untitled

a guest Oct 22nd, 2018 56 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. int main()
  3. {
  4.     int N;
  5.     //printf("Enter the length of an array : ");
  6.     scanf("%d",&N);
  7.     int arr1[N],arr2[N];
  8.     for(int i=0; i<N; i++)
  9.     {
  10.         scanf("%d",arr1[i]);
  11.     }
  12.     for (int i=0; i<N; i++)
  13.     {
  14.         arr2[i] = arr1[i];
  15.         printf("%d ",arr2);
  16.     }
  17.     return 0;
  18. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top