Which of the following declarations for a function is valid and legal in C++?

Select one:

a. void foo

b. All of the choices listed are valid C++ function declarations

c. int foo( char x );

d. None of the choices listed is a valid C++ function declaration

e. foo( int a, int b );