Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include<iostream>
- using namespace std;
- template <int C, int R>
- inline
- void printmatrix(int (&a)[R][C], int m, int n){
- }
- void printmatrix(int **a){
- }
- void printupper(int *a,int r_l,int r_h, int c_l, int c_h){
- }
- void printlower(int *a,int r_l,int r_h, int c_l, int c_h){
- }
- int main(){
- int a[10][10];
- //={ {1,2,3,4},
- //{5,6,7,8},
- //{9,10,11,12}};
- //a[0]=1;
- printmatrix(a);
- }
Add Comment
Please, Sign In to add comment