C++ Developer Sample Questions


Sample Questions
 

1. What is the data type of the size_t integer
A. Unsigned integer of at least 64 bits
B. Signed integer of at least 16 bits
C. Unsigned integer of at least 16 bits
D. Signed integer of at least 64 bits

2. Which of the following is another name of the constants
A. const
B. preprocessor
C. literals
D. None of the above

3. Which of the following is part of the literal constants
A. integer numerals
B. floating-point numerals
C. strings and boolean values
D. All of the above

4. Which of the following operators, has the highest precedence
A. postfix
B. unary
C. shift
D. equality

5. What is the method to access the object in the class
A. scope resolution operator
B. ternary operator
C. direct member access operator
D. None of the above

Answers:      1 (C), 2 (C), 3 (D), 4 (A), 5 (C)
 

 

Apply for Certification

https://www.vskills.in/certification/information-technology/Certified-C-plus-plus-Developer

 For Support