Programming - C++ Language
You Are Here :: Home > C++ Language > Introduction - General Questions
7. |
By default, the standard input device for C++ program is
|
A. |
Keyboard |
B.
|
Mouse |
C.
|
Scanner
|
D.
|
None of these
|
|
Answer: Option A
Explanation:
|
8. |
Which of the following statement is true regarding cin statement?
|
A. |
cin statement must contain a variable preceded by >> operator |
B.
|
cin does not process the input until user presses RETURN key |
C.
|
you can use more than one datum input from user by using cin
|
D.
|
all of above
|
|
Answer: Option D
Explanation:
|
9. |
Which of the following is extraction operator in C++?
|
|
Answer: Option D
Explanation:
|
10. |
When requesting multiple datum, user must separate each by using
|
A. |
a space |
B.
|
a tab character |
C.
|
a new line character
|
D.
|
all of abov
|
|
Answer: Option D
Explanation:
|
11. |
Who is father of C++ Language?
|
A. |
Dr. E.F. Codd |
B.
|
James A. Gosling |
C.
|
Bjarne Stroustrup
|
D.
|
Dennis Ritchie
|
|
Answer: Option C
Explanation:
|
12. |
In C++ every statement end with?
|
A. |
Colon (:) |
B.
|
Comma (,) |
C.
|
Dot (.)
|
D.
|
None of the above
|
|
Answer: Option D
Explanation:
|
« prev
next »