Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image_2

Step: 3

blur-text-image_3

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Murach's SQL Server 2012 For Developers

Authors: Bryan Syverson, Joel Murach, Mike Murach

1st Edition

1890774693, 9781890774691

More Books

Students also viewed these Databases questions

Question

1. What is meant by Latitudes? 2. What is cartography ?

Answered: 1 week ago

Question

What is order of reaction? Explain with example?

Answered: 1 week ago

Question

3. Are our bosses always right? If not, what should we do?

Answered: 1 week ago

Question

2. What, according to Sergey, was strange at this meeting?

Answered: 1 week ago