From 1e8c3fb347008a05fe57afc8fd920df395b8390c Mon Sep 17 00:00:00 2001 From: CEOofOogaBooga Date: Tue, 18 Oct 2022 19:02:29 -0700 Subject: Start of Lab 1 --- CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'CST116-Ch9-Debugging') diff --git a/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp b/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp index eff8980..f78a1b6 100644 --- a/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp +++ b/CST116-Ch9-Debugging/CST116-Ch9-Debugging.cpp @@ -1,6 +1,9 @@ /******************************************************************** * File: CST116-Ch9-Debugging.cpp -* +* Thomas Trinh +* CST116 +* Chp 9 Call by Value and Reference +* * General Instructions: Complete each step before proceeding to the * next. * @@ -11,11 +14,12 @@ * 3) Place a watch on age and days. * 4) Add another watch using &age for the name. This will display * the address of age. -* 5) Write down the address of age. +* 5) Write down the address of age. 0x000000129e52f7c4(0) * 6) Step Into the code for the function GetAge. * 7) The execution continues to the function header for GetAge. * 8) Step into one more time. -* 9) Why did the address of age and value change? +* 9) Why did the address of age and value change? +* E * 10) Step over the cout and cin statements. * 11) Verify the value entered is stored properly in age. * 12) Step into until the flow returns to main. -- cgit v1.2.3