Fill up the blanks in C++ – (SET-VI)
Fill up the blank in C++
( SET – VI )
1. | destructor | 2. | getline() | 3. | iostream.h |
4. | derived | 5. | abstraction | 6. | protected |
7. | private | 8. | arrow | 9. | ios::noreplace |
10. | abstract | 11. | constructor | 12. | static |
13. | fstream.h | 14. | enumerator | 15. | ios::nocreate |
16. | new | 17. | const | 18. | preprocessor directives |
19. | subscript | 20. | aggregation | 21. | base |
22. | atoi() | 23. | cout | 24. | encapsulation |
25. | dot | 26. | static binding | 25. | cin |
28. | inline |
1. The …………………… header file contains information important for user controlled file processing operations.
2. …………………….. denotes a whole/part hierarchy, with the ability to navigate from the whole to its parts.
3. A …………………… function is the first member function which is invoked when an object of the class is being created.
4. Using an array name without a …………………… yields a pointer to the first element of the array.
5. The …………………… member function of istream class of C++ reads over a designated number of characters and termiates upon encountering a designated character.
6. In C++, to show that a member function does not change its invoking object, …………………… keyword is placed after the closing parenthesis in the function declaration and definition.
7. ………………….. classes have no access to private members of base class.
8. In C++, …………………… makes prototyping more practical.
9. The ……………….. function of C++ converts a string input to its numeric value.
10. …………………….. members of a class cannot be accessed from the main(), but can be accessed by its derived class.
11. …………………… represents the standard output stream, which is an object of ostream class.
12. …………………………file open mode discards the file’s contents if it exists.
13. Classes from which objects cannot be instantiated are called ……………….. classes.
14. The …………………… operator is used to indicate indirection on a pointer to a structure.
15. A constructor cannot be declared as ……………………….
16. ……………………. function reduces function call overload.
17. In ……………………….., the compiler and the linker directly define the fixed address of the code to be executed on every function call.
18. An …………………….. is a user-defined data type whose values consist of a set of named constants.
19. ……………………. operator is used to dynamically allocate memory.
20. Macros are ………………………
ANSWERS TO FILL UP THE BLANKS
(SET-VI)
1. fstream.h 2. aggregation 3. constructor
4. subscript 5. getline() 6. const
7. derived 8. encapsulation 9. atoi()
10. protected 11. cout 12. ios::noreplace
13. abstract 14. arrow 15. static
16. inline 17. static binding 18. enumerator
19. new 20. preprocessor directives