Question: i keep on getting this error with my code Programming Exercise #ex4_2 1. Create a new text file named ex4_2.cpp with the following two lines.


Programming Exercise #ex4_2 1. Create a new text file named "ex4_2.cpp" with the following two lines. Be sure to replace the string "YourFullName" with your real full name. /*Filename: ex4_2.cpp Student: Your Full Name / 2. Next to the above two lines, write a C++ program that will ask the user to enter an integer such as 15, and then assign that integer to a variable of int type named "size". Next, create an array of double type whose total number of elements is defined by the "size" variable, and then assign ptr" as pointer that points to the array. Finally, use the "typeid" function to display the data type of the "ptr" pointer. 158 Penn P. Wu, PhD - C++ Programming Si cd123 2.ee Enter an integer: 5 dtcher traits char> stdeconerator>xchar std::char traits
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
