Advanced C++ multiple choice questions
1: Select one of the following is not valid for the variable name…
A: -abc
B: ABC
C: _abc
D: Abc
2: ……. is the keyword of C++
A: include
B: main
C: main
D: define
3: In the program the unique name are used that called…
A: tokens
B: variables
C: keywords
D: identifiers
4: Actuall documents are prepared for the procss…
A: coding
B: running
C: executing
D: testing
5: which symbols are used for making decision in flowchart….
A: sequence
B: selecion
C: iteration
D: program
6: C++ introduced in…
A: 1998
B:1997
C: 1931
D: 1934
7: errors accur in the program are caleed…
A: logic
B: syntax
C: bugs
D: all of these
8: In the program the word Main means…
A: keywords
B: use defined identifier
C: standarad identifier
D: none of these
9: Which of the following is true for the used of escape sequence…
A: independently enclosed in single quotes
B: inside string constant
C: independently enclosed in double quotes
D: all of these
10: Which of the following value a function return…
A: only one
B: more than one
C: according to statement
D: double
11: …….. operator is used to allocate the memory of an object…
A: delete
B: *
C: $
D: new
12: Function that is not used for string is…
A: strcspn ()
B: strspn ()
C: strstr ()
D: strnicmp ()
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