Adding Numbers to Memory Cells

Learn how to add numbers to memory cells.

Adding numbers

Now let’s look at the following pseudocode statement in more detail:

(b) + (a) -> (b)

Remember that a and b are the names of addresses (locations) 000055555555802c and 0000555555558030, respectively. The contents at the addresses a and b are referred to as (a) and (b), respectively.

Adding numbers in C and C++

In C and C++, we write the following statement:

Access this course and 1400+ top-rated courses and projects.