// archives

Variable

This tag is associated with 2 posts

The Implications of Using Arrays as Arguments

Let’s look at the implications of (A-1)

The function call sum_arr(cookies, ArSize)

Passes the address of the first element of the cookies array and the number of elements of the array to the sum_arr() function

The sum_arr() function

Assigns the cookies address to the pointer variable arr and assigns ArSize to the int variable n

This means (A-1) doesn’t really [...]

Introduction

To process the information of your program or the requests that your program presents to the user, the computer uses

(B-1) Two types of storage spaces

(B-1) The hard drive

A static storage area that keeps its information all the time, almost regardless of what happens to your computer

(B-1) Random Access Memory (RAM)

This storage area keeps its information [...]