Advanced C Plus Plus MCQs
1: processor translates the source code into object code as a whole that is called…
A: assembler
B: linker
C: compiler
D: debugger
2: ……….. is a procedural language…
A: fortran
B: c
C: ada
D: all of these
3: bjarne srtoustrup developed…
A: c language
B: c++
C: basic
D: fortran
4: Between the angle brackets the name of ………. is given…
A: header file
B: functions
C: body
D: none of them
5: which of the following is true about header file…
A: definitions of various constants
B: definitions of various data types
C: prototypes of standard library functions
D: All of the above
6: If a semicolon is not used at the end of the statement what message will be displayed by c++…
A: semicolon missing
B: terminator missing
C: error in statements
D: statement missing
7: Which of the following the linker creates a file with extension…
A: cpp
B: ccp
C: obj
D: exe
8: Used the term of running the program on the computer is…
A: compiling
B: loading
C: linking
D: executing
9: syntax error accur due to…
A: missing semicolon
B: incorrect spelling
C: missing any brace
D: program without declaring
10: shortcut keys is used to compile and run the program in c++…
A: Alt+F9
B: Alt+F5
C: Ctrl+F9
D: F9
11: A compiler can detect wich type of error
A: logical error
B: runtime error
C: syntax error
D: all of these
12: which of the following operators can b categorized…
A: binary operators
B: unary operators
C: both a and b
D: none of these
Programming C Plus Plus MCQs Homepage
- Low-level and high-level languages MCQs
- Procedural and non Procedural languages MCQs
- C++ STANDARD LIBRARY MCQs
- Array MCQs
- Arrays MCQs 2
- Pointers Solved MCQs
- Inline Function MCQs – C++
- Top 50 Programming C++ MCQs
- MCQs of introduction to programming
- Past Papers 2022 C++ MCQs
- Past Papers 2021 C++ MCQs
- Past Papers 2020 C++ MCQs
- Past Papers 2019 C++ MCQs
- Highly Recommended C++ Important MCQs with Explanation
- OOP
- OOP intro & examples MCQs
- Classes and Inheritance MCQs
- Friend Function MCQs
- Virtual Function MCQs
- Polymorphism MCQs
- Polymorphism MCQs 2