SHARE
TWEET

Untitled

a guest Oct 10th, 2019 76 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. int main(void){
  5.     int i,j,n;
  6.     int *A;
  7.    
  8.     A= (int *)malloc(sizeof(int));
  9.    
  10.     scanf("%d", &n);
  11.    
  12.     for(i=0;i<n;i++){
  13.         for(j=0;j<n;j++){
  14.         scanf("%d", &A[i][j]);
  15.         }
  16.     }
  17.    
  18.     for(i=0;i<n;i++){
  19.         for(j=0;j<n;j++){
  20.         printf("%d", A[i][j]);
  21.         }
  22.     }
  23.     return 0;
  24. }
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