Sinisterly
C programming array to function - Printable Version

+- Sinisterly (https://sinister.ly)
+-- Forum: Coding (https://sinister.ly/Forum-Coding)
+--- Forum: C, C++, & Obj-C (https://sinister.ly/Forum-C-C-Obj-C)
+--- Thread: C programming array to function (/Thread-C-programming-array-to-function)

Pages: 1 2


RE: C programming array to function - The DarkMist - 03-08-2013

Well you can just pass by show(n,5). The array name is a pointer that points to the base address of the memory location. Hence no need to declare a pointer to do it. Makes the program inefficient. N if this is C then getch() does not work... If your IDE allows it i would rather suggest you to use Notepad++ n along with it use the gcc compiler... And ya try not to use pointers unnecessarily... It will just complicate matters....


RE: C programming array to function - Deque - 03-08-2013

This thread is more than 9 months old.
-closed-