CS 162 Study Guide - Comprehensive Final Exam Guide - Vocab (Song), Virtual Method Table, Virtual Function

132 views27 pages

Document Summary

Missing recitations and labs result in a zero. A recitation or lab may be excused within 24 hours prior of a planned missed absence. Unplanned absence must be petitioned by end of day of the absence with valid excuse. Take home final due thursday, june 14 at 2pm on teach. Section number (if relating to a grade issue) Creates a variable on the stack of size int with the value 5. Creates a pointer variable on the stack which can hold an address of an int and sets the value of the pointer (the address the pointer points to) to the address of a. Dereferencing pointer: cout << *b << endl; Will print the value stored at the address which b points to (5) Prototype indicating that void func is expecting two parameters of type int to be passed by value.

Get access

Grade+20% off
$8 USD/m$10 USD/m
Billed $96 USD annually
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
40 Verified Answers