C Language - Pointers

You Are Here :: Home > C Language > Pointers - General Questions

 
7.

Both the indirection operator and the address-of operator

A. must be used in declarations B. are binary operators
C. are unary operators D. are not overloaded




8.

Adding to a pointer that points to an array will

A. Cause an error B. Increase the value of the element that the pointer is pointing to
C. Cause the pointer to point to the next element in the array D. None of above




9.

What is dangling pointer in c

A. if pointer is pointing to a memory location from where variable has been deleted B. if pointer is assigned to more than one variable
C. if pointer is not defined properly D. none of above




10.

Wild pointer in C

A. if pointer is pointing to a memory location from where variable has been deleted B. if pointer has not been initialized
C. if pointer has not defined properly D. if pointer pointing to more than one variable




11.

Size of void pointer is

A. 1 byte B. 2 byte
C. 4 byte D. 8 byte




12.

*ptr++ is equivalent to ?

A. *ptr B. ++*ptr
C. None of all D. ptr++




« previous

1

2

3

4

5

6

7

8

9

...

next »

 
 
 



© 2013 freshersindia.in ® | Copyrights | Terms & Conditions
   Designed by Freshers India
Catch Us on