Which of the following is not recommended in a header file?
(A) Type definitions (typedefs)
(B) Class definitions
(C) Function definitions
(D) Template definitions
Answers
Answered by
2
Explanation:
Function. definition s
Answered by
1
Answer:
The answer is : (D) Template Definitions.
Explanation:
Template means:
- IN MS WORD: It is a type of a document which can create any copy of the same template when we try to open it.
- IN PROGRAMMING: It is defined as any class which is generic in nature to a class or any other source code unit which are therefore used on the basis of unique units of code.
In Object oriented Programming, where programming languages like C++, JAVA, etc., there exists standard templates which can be extracted from the standard templates libraries through which the programmers can choose any individual templates and implement it to the classes to modify.
#SPJ6
Similar questions
History,
1 month ago
Biology,
2 months ago
History,
9 months ago
Chemistry,
9 months ago
Social Sciences,
9 months ago