Question: A C++ program contains a function with the header int function(double d, char c). Which of the following function headers could be used within the same program?

Options

A : char function(double d, char c)

B : int function(int d, char c)

C : both (a) and (b)

D : neither (a) nor (b)

Click to view Correct Answer

Previous || Next

Object Oriented Programming Using C++ - Part 1 more questions

Format flags may be combined using

The use of the break statement in a switch statement....

To expose a data member to the program, you must....

Evaluate the following expression: 3 >6&&7>4

A function that changes the state of the cout object....

When the compiler cannot differentiate between two overloaded constructors, they....

Some Streams work with input, and some with output

If you design a class that needs special initialization tasks,....

Which type of statement does not occur in computer programs?

The newline character is always included between

Artificial Intelligence - Part 1 more Online Exam Quiz

Electronic Principles - Part 1

Language Processors - Part 1

Linux - Part 1

Management Information Systems - Part 1

Networking - Part 1

Operating Systems Concepts - Part 1

System Analysis and Design - Part 1

Unix - Part 1

Windows 2000 Server - Part 1

Windows NT - Part 1