Which of the following is the general syntax of the function prototype to overload the pre-increment operator ++ as a member function?

A. className operator++();
B. className operator++(int);
C. friend className operator++();
D. friend className operator++(int);

Answer: A

Computer Science & Information Technology

You might also like to view...

Which of the following options will redisplay, upon restart, any windows that you had open when Windows Vista was shut down?

A) Display on restart B) Launch folder windows in a separate process C) Remember each folder's view settings D) Restore previous folder windows at logon

Computer Science & Information Technology

Which of the following communication technologies would MOST likely be used to increase bandwidth over an existing fiber optic network by combining multiple signals at different wavelengths?

A. DWDM B. SONET C. ADSL D. LACP

Computer Science & Information Technology