 
			 
			MCQOPTIONS
 Saved Bookmarks
				This section includes 10 Mcqs, each offering curated multiple-choice questions to sharpen your Technical MCQs knowledge and support exam preparation. Choose a topic below to get started.
| 1. | Which of the following is an advantage of reference? | 
| A. | Safer | 
| B. | Easier to use | 
| C. | Time consuming | 
| D. | Both A and B | 
| E. | |
| Answer» E. | |
| 2. | Which operator is used to de-references to an object? | 
| A. | # | 
| B. | & | 
| C. | * | 
| D. | None of the above | 
| Answer» E. | |
| 3. | Dereference operator is also called as | 
| A. | pointer | 
| B. | Reference operator | 
| C. | Offset operator | 
| D. | Deoffset operator | 
| Answer» D. Deoffset operator | |
| 4. | How many objects reference can refer during its lifetime? | 
| A. | 1 | 
| B. | 2 | 
| C. | 3 | 
| D. | 4 | 
| Answer» B. 2 | |
| 5. | References can be NULL? | 
| A. | References has constant value 0. | 
| B. | References has constant value . | 
| C. | Yes. | 
| D. | No. | 
| Answer» E. | |
| 6. | Through references we can avoid? | 
| A. | wastage of memory | 
| B. | wastage of CPU time | 
| C. | Both A and B | 
| D. | None of the above | 
| Answer» D. None of the above | |
| 7. | If a function receives a reference to a variable, can it modify the value of the variable? | 
| A. | Yes | 
| B. | No | 
| C. | We can not pass reference to a variable. | 
| D. | Reference can not contain function. | 
| Answer» B. No | |
| 8. | A variable can be declared as reference by putting _______ in the declaration. | 
| A. | # | 
| B. | $ | 
| C. | & | 
| D. | * | 
| Answer» D. * | |
| 9. | A References is : | 
| A. | A variable that holds memory address. | 
| B. | A Alias to an existing variable. | 
| C. | Alias to an existing variable and holds memory address. | 
| D. | None of the above | 
| Answer» C. Alias to an existing variable and holds memory address. | |
| 10. | Reference is like a? | 
| A. | Pointer | 
| B. | Structure | 
| C. | Array | 
| D. | None of the above | 
| Answer» B. Structure | |