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

Computer Science & Information Technology

You might also like to view...

You can use the ____ slider to control the size of a beveled edge.

A. Size B. Depth C. Extrude D. Height

Computer Science & Information Technology

To display the content of a text file on the screen, you may use the _____ command

A) DOSKEY B) TYPE C) ECHO D) RECALL

Computer Science & Information Technology

The ____ methodology focuses on flexibility; program designs and specifications change and evolve as a project moves forward.

A. agile B. waterfall C. open source D. public domain

Computer Science & Information Technology

An access violation means:

A. you’ve just hacked your own program. B. you’ve gone out of bounds in your array. C. the compiler tried opening Access 2007. D. the OS cannot access the program variables.

Computer Science & Information Technology