/in/foo.c: In function 'main':
/in/foo.c:9:17: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'int **' [-Wformat=]
scanf("%d%d",&nums[i][0],&nums[i][1]);
^
/in/foo.c:9:19: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'int **' [-Wformat=]
scanf("%d%d",&nums[i][0],&nums[i][1]);
^
/in/foo.c:14:28: warning: initialization makes integer from pointer without a cast [-Wint-conversion]
int temp = nums[i][0];
^~~~
/in/foo.c:16:30: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
nums[i-1][0] = temp;
^
/in/foo.c:17:22: warning: assignment makes integer from pointer without a cast [-Wint-conversion]
temp = nums[i][1];
^
/in/foo.c:19:30: warning: assignment makes pointer from integer without a cast [-Wint-conversion]
nums[i-1][1] = temp;
^