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

The combination of nobles and knights created which group? A.royals B.peasants C.vassal D.lords
What role do predators play in maintaining the balance of an ecosystem?
what is 2/300 as a decimal?
40cm in 18mm as a ratio
Which is the best example of a primary source document useful in the study of history?
How does the interaction of people in groups affect the growth of societies?
All paragraphs should have one main idea?
what is $40 with a 30% markup?
pecans in bulk bins at the grocery store cost $0.65 per ounce how much would you spend if you buy one pound 8 ounces of peanuts in two pounds of pecans
IS IT POSSIBLE FOR A PARTICULAR ELEMENT TO HAVE VARIOUS NUMBERS OF NEUTRONS