C/C++ Programming MCQs

C/C++ Programming MCQs

The following C/C++ Programming MCQs have been compiled by our experts through research, in order to test your knowledge of the subject of C/C++ Programming. We encourage you to answer these multiple-choice questions to assess your proficiency.
Please continue by scrolling down.

1: In july ____, ansi/iso standard c++ was officially approved.

A.   OOTBALL <= SOCCER

B.   Abc-xyz

C.   With

D.   1998

2: The ideal type of loop to use for repeating a menu is a(n) ________ loop.

A.   Pretest

B.   Infinite loop

C.   Do-while

D.   Sentinel

3: A comparison is correct only when the correct ____ and operator are used.

A.   Expression

B.   Operands

C.   Statements

D.   Index

4: The leftmost digit in a bit string is called the ____.

A.   Least significant digit

B.   Most significant digit

C.   Least valuable digit

D.   Most valuable digit

5: A(n) ________ operator can work with programmer-defined data types.

A.   Operator +

B.   Static

C.   Overridden

D.   Overloaded

6: An array's size declarator must be a(n)________ with a value greater than ________.

A.   Constant integer expression

B.   Zero

C.   P37

D.   ALL OF THIS

7: A variable comes into existence, or ____, when you declare it.

A.   Comes into scope

B.   Composition

C.   This reference

D.   Inner class