Exam 9: Pointers
Exam 1: Introduction to Computers and Programming47 Questions
Exam 2: Introduction to C62 Questions
Exam 3: Expressions and Interactivity45 Questions
Exam 4: Making Decisions51 Questions
Exam 5: Loops and Files60 Questions
Exam 6: Functions49 Questions
Exam 7: Arrays and Vectors56 Questions
Exam 8: Searching and Sorting Arrays30 Questions
Exam 9: Pointers47 Questions
Exam 10: Characters, C-Strings, and More About the String Class47 Questions
Exam 11: Structured Data46 Questions
Exam 12: Advanced File Operations38 Questions
Exam 13: Introduction to Classes54 Questions
Exam 14: More About Classes46 Questions
Exam 15: Inheritance, Polymorphism, and Virtual Functions43 Questions
Exam 16: Exceptions and Templates36 Questions
Exam 17: The Standard Template Library38 Questions
Exam 18: Linked Lists41 Questions
Exam 19: Stacks and Queues47 Questions
Exam 20: Recursion27 Questions
Exam 21: Binary Trees39 Questions
Select questions type
Assuming ptr is a pointer variable, what will the following statement output?
Cout << *ptr;
(Multiple Choice)
4.8/5
(34)
The ampersand (&) is used to dereference a pointer variable in C++.
(True/False)
4.9/5
(34)
Which of the following is true about this statement:
Sum += *array++;
(Multiple Choice)
4.9/5
(44)
Which of the following statements displays the address of the variable numb?
(Multiple Choice)
4.8/5
(34)
If you are using an older computer that does not support the C++11 standard, you should initialize pointers with
(Multiple Choice)
4.8/5
(39)
Showing 41 - 47 of 47
Filters
- Essay(0)
- Multiple Choice(0)
- Short Answer(0)
- True False(0)
- Matching(0)