Friday, July 24, 2009

C++ Objective Type

Previous Next

When you are creating a structure, you need to use the following keyworda) structure
b) struct
c) object
d) record
Ans : B

Select the correct function definition (NOT prototype) from the list below.
a) void intro();
b) double sin(double rad);
c) int foo(int bar; double baz)
d) double pow(double num, int pow);
Ans : D

Cout can print multiple values or variables in a single command using the following syntax:
a) cout << "Hi" + bob + "\n"; b) cout << "Hi" << c =" 0;" c =" 0;" c =" 0;" c =" 0;" align="right">Previous Next

No comments:

Post a Comment