sydneyree3142 sydneyree3142
  • 09-10-2019
  • Computers and Technology
contestada

. It is perfectly valid to create pointers that point to __________

Respuesta :

ExieFansler ExieFansler
  • 10-10-2019

Answer:

NULL.

Explanation:

We can create a pointer that points to NULL.There is no problem in doing that you will not get any error.It means that the pointer right now points to nothing or 0.Look at this example for better explanation:-

#include <iostream>

using namespace std;

int main() {

   int *p=NULL;

   cout<<p;

return 0;

}

The output of this program is 0.

Answer Link

Otras preguntas

explain the growth of the industrial revolution after the civil war and the workers' response to the growth
Solve for x! Please help!!
alex rolls two standard number cubes. what is the likelyhood that the sum of the number is less than 4
Operating systems such as Microsoft Windows use a specific character before a file extension to separate it from the filename. Which character separates the fil
If you substitute a number into the function or if you use synthetic division and get a remainder of 0, list at least two conclusions from that result.
Which of the following is equivalent to square root of 8?
Complete the two-column proof. Given:x5+9=11 Prove x=10 x5+9=11 a._______ x5=2 b._______ x=10 c._______
When you multiply 2/3 by a fraction less then one how does the product compare to the factor
Why was Napoleon able to overthrow the Directory and take power?
Michael makes shoes. He gets to decide what color they are, and how they look. Michael represents a Consumer Business Distributor Producer