Is it possible to write a function that contains a call by reference using pointers, call by reference using references, and a call by value? If you think it is possible, write the prototype, function header line, and sample call statement.

What will be an ideal response?

Yes this is possible. Here’s an example:
```
void Function(int *pN1, int &rN2, int N3); //prototype and function header line
//code in main
int N1, N2, N3;
Function(&N1, N2, N3); //call statement
```

Computer Science & Information Technology

You might also like to view...

The tools needed to work with ActiveX controls are available on the Design tab

Indicate whether the statement is true or false

Computer Science & Information Technology

Use the ______ box to set the display time when automatically advancing to the next slide.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology