Monday, 25 February 2013

Initialising a 2D array



















Examples
Assuming we have the following array b:
printf ("%d", b[0][0]);  /* prints 1 */
printf ("%d", b[1][0]);  /* prints 3 */
printf ("%d", b[1][1]);  /* prints 4 */



No comments:

Post a Comment

String functions

Read This: strncpy() strncat() strstr () strlen() — Predefined function defined in string.h . — — Returns the len...