Minggu, 08 Januari 2017

How to pass two dimensional Arrays in C Programming

We can also pass two-dimensional arrays as parameters to a function. While passing two-dimensional arrays as parameters you should keep in mind the following things: In the function declaration you should write two sets of square brackets after the array name. You should specify the size of the second dimension i.e., the number of columns. In the function call you should write two sets of square brackets after the array name. Also you should specify the size of the second dimension i.e., the number of columns. In the function call, it is enough to pass the name of the array

The post How to pass two dimensional Arrays in C Programming appeared first on Coding Security.


How to pass two dimensional Arrays in C Programming
read more

Tidak ada komentar:

Posting Komentar