Which of the following statements declares a function with a pointer variable as a parameter?
A. void fun (int ptr);
B. void fun (&int ptr);
C. void fun (*int ptr);
D. void fun (int& ptr);
E. void fun (int* ptr);
Answer: E
You might also like to view...
The ________ object enables a program to read data from the user.
a. std::cout. b. std::cin. c. std::cread. d. std::cget.
____ integrity is the rule that makes it possible for a DBMS to prevent records from being orphaned if a user attempts to change a primary key or delete a record in a table that has matching records in another table.
A. Join B. Referential C. Primary D. Relational
Select all that apply. Which of the following are methods of traversing a binary tree?
a. LeftOrder traversal b. PreOrder traversal c. FrontOrder traversal d. InOrder traversal e. PostOrder traversal
Your customer wants to develop a system for stock information where dealers can access information about companies and evaluate various investment scenarios using a simulation system. Each dealer uses this simulation in a different way, according to his or her experience and the type of stocks in question. Suggest a client–server architecture for this system that shows where functionality is located. Justify the client–server system model that you have chosen.
What will be an ideal response?