download Mastguru Android App

Question Detail

Adding to a pointer that points to an array will

  • Cause an error
  • Increase the value of the element that the pointer is pointing to
  • Cause the pointer to point to the next element in the array
  • None of above
Similar Questions :

1. What is true about fputs function

  • write to a file
  • takes two parameters
  • requires a file pointer
  • all of above

2. If (*p) and **p is same

  • No
  • Yes

3. Which operator has the highest priority

  • ()
  • []
  • *
  • /

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

5. Due to variable scope in c

  • Variables created in a function cannot be used another function
  • Variables created in a function can be used in another function
  • Variables created in a function can only be used in the main function
  • None of above
Read more from - C Programming Questions Answers - Chapter 1
Post a comment