What is the extension of header files?

A. .cpp
B. .h
C. .header
D. .obj


Answer: B

Computer Science & Information Technology

You might also like to view...

What is wrong with the following switch statement?

int ans; cout <<"Type y for yes on n for no\n"; cin >> ans; switch (ans) { case 'y': case 'Y': cout << "You said yes\n"; break; case 'n': case 'N': cout << "You said no\n"; break; default: cout <<"invalid answer\n"; } a. ans is a int b. break; is illegal syntax c. nothing d. there are no break statements on 2 cases.

Computer Science & Information Technology

What is the official title for the FISMA?

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

Computer Science & Information Technology

Which of the following statements generates a random number >= 2 and < 10.

A. Math.random() B. Math.random(2, 10) C. Math.random() * 10 + 2 D. Math.random() * 2 + 10 E. Math.random() * 8 + 2 F. Math.random() * 2 + 8

Computer Science & Information Technology

Inheritance is an ‘‘is-a''relationship.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology