download Mastguru Android App

Question Detail

A variable in c

  • must have a valid datatype
  • can't have a name same as keyword
  • must have a name starting with a character
  • All 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. If include files can be nested

  • Yes
  • No

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

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

5. 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
Read more from - C Programming Questions Answers - Chapter 1
Post a comment