Pointer is special kind of variable which is used to stored __________ of the
variable. a) Address b) Value c) Pointer d) Datatype 2. A Pointer is _________. a. A keyword used to create variables b. A variable that stores address of an instruction c. A variable that stores address of other variable d. None of these
3. Address stored in the pointer variable is of type __________.
a) Array b) Float c) Integer d) Char 4. Consider the 32 bit compiler. We need to store address of integer variable to integer pointer. What will be the size of integer pointer ? a) 4bytes b) 8bytes c) 2bytes d) 16bytes 5. "&" is called as ___________ in pointer concept. a. Address operator b. Logical Operator c. Conditional Operator d. None of these 6. "*" is called as ___________ in pointer. a. Address b. Value c. Scope Resolution d. None of These 7. Double Pointer is special kind of variable which is used to store the address of __________. e) Variable f) Value g) Pointer variable h) Data type 8. Constant pointers are one which cannot _____________. a. Change the address b. Change the value c. Change both the value and address d. None of the above 9. Pointer to constant objects is one which cannot ____________. a. Change the address b. Change the value that pointing to. c. Change both the value and address d. None of the above 10. Pointer which is pointing to nothing is called __________. a. Constant pointer b. Null pointer c. Double pointer d. None of the above 11. Choose the example of pointer arithmetic______________. a. Incrementing a pointer b. Decrementing a pointer c. Both a and b d. None of the above 12. Choose the pointer arithmetic operation which is used to access the succeeding element of the array______________. a. Decrementing a pointer b. Incrementing a Pointer c. Incrementing pointer using binary operator d. Both b and C 13. Addition of two pointers is allowed. a. True b. False 14. Two pointers can be subtracted. a. True b. False 15. Multiplication and division Operators can be applied on pointers. a. True b. False 16. Addition of a pointer and an integer is not commutative a. True b. False 17. Only integers can be added to pointer. It is not valid to add a float or double value to a pointer. a. True b. False 18. A pointer variable cannot be assigned a non address value except zero. a. True b. False 19. Multiplication and division Operators cannot be applied on pointers. a. True b. False 20. Bitwise operators cannot be applied on pointers. a. True b. False 21. A pointer and an integer can be subtracted. a. True b. False 22. A pointer and an integer can be added. a. True b. False 23. Subtraction of a pointer and an integer is commutative a. True b. False 24. A void pointer can be dereferenced. a. True b. False 25. A pointer which points to any type of object is called_______. a. Integer pointer b. NULL pointer c. Void pointer d. Double pointer 26. A Pointer which points to a float object is called as________. a. Integer pointer b. float pointer c. Void pointer d. Both b & c