Skip to content

Opening book details…

Can I read Passing Single-Dimension Arrays in C/C++ on EtoBox?

Passing Single-Dimension Arrays in C/C++ by Marian George Morosac is a document available to read on EtoBox.

What is Passing Single-Dimension Arrays in C/C++ about?

This document discusses passing single-dimension arrays to functions in C/C++. It explains that you cannot pass an entire array, but can pass a pointer to the array by specifying the array name without an index. When a function receives an array, there are three ways to declare the formal array: as a pointer, a sized array, or an unsized array. All three produce the same result, as the compiler generates code to receive a pointer rather than creating an actual array of the specified size. The document also

Author
Marian George Morosac
Language
EN

More by Marian George Morosac

Browse all works by Marian George Morosac