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. printf() belongs to which library of c

  • stdlib.h
  • stdio.h
  • stdout.h
  • stdoutput.h

2. Which operator has the highest priority

  • ()
  • []
  • *
  • /

3. 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

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

  • integer
  • int
  • null
  • none of above

5. We can insert pre written code in a C program by using

  • #read
  • #get
  • #include
  • #put
Read more from - C Programming Questions Answers - Chapter 1