Programmiersprache C/C++ Inhaltsverzeichnis: Programmieren in C. Programming in C. A.
D. Marshall 1994-2005 Substantially Updated March 1999 Next: Copyright Keyword Searcher. Pointers. Let us now examine the close relationship between pointers and C's other major parts.
We will start with functions. When C passes arguments to functions it passes them by value. There are many cases when we may want to alter a passed argument in the function and receive the new value back once to function has finished. Arrays and Strings. For two dimensions.
For further dimensions simply add more [ ]: int bigD[50][50][40][30]......[50]; Elements can be accessed in the following ways: anumber=tableofnumbers[2][3]; tableofnumbers[25][16]=100; In C Strings are defined as arrays of characters.