Question: Hello, this is for programming in C++ . Below is the assignment, it deals with pointers and I am a bit lost on them so

Hello, this is for programming in C++. Below is the assignment, it deals with pointers and I am a bit lost on them so please include comments when you can. Thank you very much.
 Hello, this is for programming in C++. Below is the assignment,

Creating A Program with Pointer Functions Create a program with filename ptrFunc.cpp that contains the two short functions described below. In your main function, declare and initialize two pointer variables that point to double data, and use these variables to test your functions. 1. Write a boolean value-returning function that takes two pointer variables, ptr1 and ptr2, as parameters. Both variables point to double data. The function should return true if the values in the pointed-to variables are identical, and false otherwise. 2. Write a boolean value-returning function that takes two pointer variables, ptr1 and ptr2, as parameters. Both variables point to double data. The function should return true if both variables represent the same address in memory. That is, they point to the same variable. Your function should return false otherwise

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!