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

9. When an emergency occurs, it's important to A. begin CPR immediately. B. move injured individuals to a different location. C. stay calm and keep all
Who meets in the US Capitol building
what is managed health care
Hydrated copper sulphate is a blue crystalline solid. When heated, it changes to anhydrous copper sulphate, a white powder. What occurs in that process? ( a. LO
Which answer is not a mechanism for evolution1.Mutations 2.Natural Selections3.Genetic Drift 4.Gene Pool?
What is the length of the third side of the window frame below? (Figure is not drawn to scale.) 15 inches 27 inches 25 inches 32 inches
A man invested one fifth of his money at 4%, half of his money at 5%, and the rest of his money at 3.5%. If his total annual investment income was $870, how muc
Need help with this question, please thank you
What term was used to describe the rough divide between free and slave states by the mid-1800s?
Explain the circumstance depicted by the images above? Include important Egyptian terms and names