Passing 2d array by reference June 2011View more random threads:
- Difference b/w encapsulation and information hiding
- Problem with adding Symbols inside the C++ and java...
- array project code c++ 2011
- Argc(argument count) and argv(argument value) are used in...
- how the information hidden within an object can be assessed...
- # include main() { cout<< "How are u? welcome to my...
- cascading operator overloading in c++ 2011
- what is constructor in c ++
- how to pass a simlpe list of data type struct to function...
- difference between member functions,non member functions...
Sponsored Links
Code:class calc{ double (*my_a)[size]; calc(double (*arr)[size] /* or double [][size] */) : arr(my_a) {} // Passing array in main function double arr[size][size]; calc(arr);
There are currently 1 users browsing this thread. (0 members and 1 guests)