Write the code for a call to the new operator to dynamically allocate memory for a double whose initial value is 17.3.

Write the code for a call to the new operator to dynamically allocate memory for a double whose initial value is 17.3.

LANGUAGE: C++

CHALLENGE:

Write the code for a call to the new operator to dynamically allocate memory for a double whose initial value is 17.3.

SOLUTION:



new double (17.3);

Add comment