Adding 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:

Get hands-on with 1400+ tech skills courses.