Question Detail

What is dangling pointer in c

  • if pointer is pointing to a memory location from where variable has been deleted
  • if pointer is assigned to more than one variable
  • if pointer is not defined properly
  • none of above
Similar Questions :

1. What is wild pointer in c

  • a pointer which we need to write in future
  • a pointer which has bad naming convention
  • a pointer which has no limit
  • a point which has not initialized

2. Break statement is used for

  • Quit a program
  • Quit the current iteration
  • Both of above
  • None of above

3. Disadvantage of array in C is

  • We can easily access each element
  • It is necessary to declare too many variables
  • It can store only one similar type of data
  • None of above

4. If include files can be nested

  • Yes
  • No

5. Which operator has the highest priority

  • ()
  • []
  • *
  • /
Read more from - C Programming Questions Answers - Chapter 1