Answer the following statements true (T) or false (F)
1. C++ does not perform array bounds checking.
2. A pointer can be passed as an argument to a function.
3. Any arithmetic operation may be performed on pointers.
4. The ampersand (&) is used to dereference a pointer variable in C++.
5. The expression *s->p; is only meaningful if s is a pointer to a structure and p is a pointer that is a member of that structure.
1. TRUE
2. TRUE
3. FALSE
4. FALSE
5. TRUE
You might also like to view...
What is the maximum penalty that may be imposed by an (ISC)2 peer review board when considering a potential ethics violation?
A. Revocation of certification B. Termination of employment C. Financial penalty D. Suspension of certification
How can a vulnerability be reduced or eliminated?
A. By improving the asset B. Through monitoring C. By crafting a response strategy D. Through delegation