Computer Science Homework Solutions
Problem
#130944

C++ Problem

Program that does the following:

delcale an integer (var1)
declare a pointer (ptr1) that points to var1
declare a reference (ref1) to var1
assign the address of var1 to ptr1
print the value of var1 using the pointer
use the ref1 to change the value of var1 to var15
print the value of var1 using the ref1

Solution
What is this?
By OTA - Overall OTA Rating
Yanfang Li, PhD - 4.9/5
Purchase Cost Now
$2.19 CAD (was ~$7.98)
Included in Download
  • Plain text response
  • Attached file(s):
    • test1.zip
$2.19 Instant Download
Add to Cart
Why you can trust BrainMass.com
  • Your Information is Secure
  • Best Online Academic Help Service
  • Students find real academic Success
Related Solutions
Browse