Question: Language is c++ use a makefile please i named mine lab.cpp and pointer.cpp and pointer.h please show contents of each file, and explain how pointers

Language is c++

use a makefile please i named mine lab.cpp and pointer.cpp and pointer.h

please show contents of each file, and explain how pointers work here i am confused on how to use them

Pointer .h

#ifndef FN_H_ #define FN_H_ #include using namespace std; void PtrFunction(int *ptr1, char *ptr2, string *ptr3); #endif

desired output

Please enter an integer. 7 Please enter a character. k Please enter a string. john The value of the integer pointer is 7 The value of the character pointer is k The value of the string pointer is john The first 2 letters of the string are jo

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!