Quiz - XII CS
Chpater 1- Structures & Pointers
Sign in to Google to save your progress. Learn more
Student Name *
School Name *
1. Structure within a structure is called ...... *
1 point
2. Which operator connects the structure name to its member name? *
1 point
3. Which of the following cannot be a structure member? *
1 point
4. Which of the following is true for accessing an element of a structure *
1 point
5. ..................... is a structure in which one element is a pointer to the same structure. *
1 point
6. The period symbol used in 'struct' is represented by *
1 point
7. As subscript is for array, ...................... is associated with structure *
1 point
8. Which keyword is used for structure definition? *
1 point
9............................array is created during run time using new operator. *
1 point
10.The __________, also known as the address operator, returns the memory address of a variable *
1 point
11. A pointer is ............. *
1 point
12. Which operator is used to connect structure pointer and an element *
1 point
13. Which of the following statements displays the address of the variable num ? *
1 point
14. Dynamic memory allocation occurs *
1 point
15. How do you make a pointer point to an existing variable?                                                                                    int y ; *
1 point
16. What is the operator used for dereferencing or indirection? *
1 point
17. In C++ what the following command does:         delete  a; *
1 point
18. Indirection operator( * ) is used only with ................ *
1 point
19. Dynamic memory allocation operator in C++ is ................. *
1 point
20. Assuming ptr is a pointer variable, what will the following statement output?                                            cout << *ptr; *
1 point
21. delete operator is used to
1 point
Clear selection
22. What happens  when the following statement is executed?        int *p =new int(5);
1 point
Clear selection
23. If “p” were an integer pointer its value on “p++” would be incremented by ............. *
1 point
24.Array notation  arr[i]  is equivalent to the pointer notation  ....................................
1 point
Clear selection
25. When accessing a structure member, the identifier to the left of the dot operator is the name of
1 point
Clear selection
Submit
Clear form
Never submit passwords through Google Forms.
This content is neither created nor endorsed by Google. Report Abuse - Terms of Service - Privacy Policy