A pointer describes which of the following?
A) What a certain value in memory is
B) Where a certain value in memory is
C) When a certain value is in memory
D) The size of a certain value in memory
Ans: B
Title: A pointer describes which of the following?
Difficulty: Easy
Pointers
- Consider the code snippet below. int ch = 100; Which of the following is a legally correct way of obtaining the memory location of ch and printing it (the memory location) to standard output, based on the given code snippet?
- Which of the following is a legally correct way of declaring a variable that is a pointer to an integer?
- What is true about the statement given below? int* choice;
- Which of the following statements is true about pointers?
- Which statement is true about an uninitialized pointer?