download Mastguru Android App

Question Detail

Wild pointer in C

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

1. Difference between calloc() and malloc()

  • calloc() takes a single argument while malloc() needs two arguments
  • malloc() takes a single argument while calloc() needs two arguments
  • malloc() initializes the allocated memory to ZERO
  • calloc() initializes the allocated memory to NULL

2. Which of the following below is/are valid C keywords

  • integer
  • int
  • null
  • none of above

3. A member is a

  • Variable in a structure
  • Datatype of structure
  • Structure pointer
  • None of above

4. Any type of modification on the parameter inside the function will reflect in actual variable value can be related to

  • call by value
  • call by reference
  • both of above
  • none of above

5. Exit() is same as return

  • TRUE
  • FALSE
Read more from - C Programming Questions Answers - Chapter 1
Post a comment