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

which statement correctly describes the Maya calendar
Which of the following is an example of an emphasis on production quality? Matter is recycled. Emphasis is on pollution cleanup. Emphasis is on renewable res
Write 2/3 and 3/4 as a pair of fractions with a common denominator
what will make a headache go away
Telemachus tells his mother of his plans to leave Ithaca in search of his father. True False
Mineral replacement, carbon film and molds are a few examples of a. fossil formation c. fossil preservation b. fossil index d. ancient enviorments
if y=3x-5 find the value of y when x=-1
how do scientists know the mantle is hot molten rock
Which of the following factors helps a child develop a positive self-concept? A. The sex of the child B. Conflicts with teachers C. Family relationships D. Mate
County court judges, municipal court judges, and justices of the peace are all examples of which type of judge? A. general trial judges B. state judges C. feder