download Mastguru Android App

Question Detail

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
Similar Questions :

1. What will be output of
void main()
char test =`S`;

  • S
  • Error
  • Garbage value
  • None of above

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

3. A member is a

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

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

5. What will be the output of following program
int x,y = 10;
x = y * NULL;

  • error
  • 0
  • 10
  • Garbage value
Read more from - C Programming Questions Answers - Chapter 1
We are improving Commenting System, Soon it will be live. Thanks !