• Shuffle
    Toggle On
    Toggle Off
  • Alphabetize
    Toggle On
    Toggle Off
  • Front First
    Toggle On
    Toggle Off
  • Both Sides
    Toggle On
    Toggle Off
  • Read
    Toggle On
    Toggle Off
Reading...
Front

Card Range To Study

through

image

Play button

image

Play button

image

Progress

1/6

Click to flip

Use LEFT and RIGHT arrow keys to navigate between flashcards;

Use UP and DOWN arrow keys to flip the card;

H to show hint;

A reads text to speech;

6 Cards in this Set

  • Front
  • Back
give the prototype for a pointer to a function, and that takes two integers as argument
int(*PFI)(int,int)
what are the advantages of using:
const int foo = 5
instead of
#define foo 5
compiler can type check and make sure foo remains indeed a constant throughout life of a program
there are three situations that cause a copy constructor to be invoked
pass by value
return by value
initialize on the fly with "="
what do public private and protected mean and how are they different
a public member is accessible by anyone
a private member is not accessible by the class and its friends
a protected member is accessible by class and friends and by members and friends of derived classes
does a destructor for a derived class explicitly call the destructor for the base class
no the system calls the classes up the hierarchy
what is a friend function
a non class function that is allowed access to private members of a class