Posts
 
Reputation
Joined
Last Seen
0 Reputation Points
Unknown Quality Score

No one has voted on any posts yet. Votes from other community members are used to determine a member's reputation amongst their peers.

0 Endorsements
~130 People Reached
Favorite Forums
Favorite Tags
c x 1
Member Avatar for shrikara

this is my code I am using in Unix machine, using cc compiler: [code=c] #include<stdlib.h> main() { int nr=0,nc=0; printf("Enter number of coulmns:"); scanf("%d",&nc); printf("Enter number of rows:"); scanf("%d",&nr); int *x,temp; printf("Enter the matrix:\n"); for(int i=0;i<nr;i++) { for(int j=0;j<nc;j++) { scanf("%d",&temp); *(x+i*nc+j)=temp; } } for(int i=0;i<nr;i++) { for(int j=0;j<nc;j++) { …

Member Avatar for kenji
0
130