Computer Science - Object Oriented Programming Using C++
Exercise : Object Oriented Programming Using C++ - Section 1
- Object Oriented Programming Using C++ - Section 1
- Object Oriented Programming Using C++ - Section 2
- Object Oriented Programming Using C++ - Section 3
- Object Oriented Programming Using C++ - Section 4
- Object Oriented Programming Using C++ - Section 5
- Object Oriented Programming Using C++ - Section 6
- Object Oriented Programming Using C++ - Section 7
- Object Oriented Programming Using C++ - Section 8
- Object Oriented Programming Using C++ - Section 9
- Object Oriented Programming Using C++ - Section 10
- Object Oriented Programming Using C++ - Section 11
21.
The #ifndef directive tests to see whether ________
Answer: Option
Explanation:
#ifndef checks whether the given token has been #defined earlier in the file or in an included file; if not, it includes the code between it and the closing #else or, if no #else is present, #endif statement. #ifndef is often used to make header files idempotent by defining a token once the file has been included and checking that the token was not set at the top of that file.
22.
Which of the following statements is false?
23.
The generic type in a template function
24.
When a child class function is called, the compiler looks first for a matching function name in the _____
25.
A function that is called automatically each time an object is destroyed is a
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers